howto vpn tunnel all traffic from LAN to WAN (WIFI) to srv via wireguard

Here s the full howto adapted to your actual interfaces (enp0s25 = LAN, wlp3s0 = WAN/Wi-Fi): 1. Packages apt update apt install wireguard wireguard-tools nftables dnsmasq network-manager 2. Connect the WAN Wi-Fi nmcli device wifi connect "SSID_NAME" password "WIFI_PASSWORD" ifname wlp3s0 [ ]