This is an automated archive.
The original was posted on /r/wireguard by /u/BenjiStokman on 2024-01-22 19:17:11+00:00.
I have a computer with Mullvad on it and I want to connect to another WireGuard VPN that runs on it from the Internet. I can connect just fine on my LAN, but on the Internet by default any packets sent back are sent over Mullvad.
Mullvad has a guide here on how to bypass their VPN for incoming connections and that’s working fine for normal applications (tested with apache2). But when I set up my WireGuard VPN on that same working port that I want to connect to, it doesn’t work and return packets are still sent over Mullvad.
Any way to fix this? I have already duplicated the line in the nftables rule that specifies the port and changed tcp to udp for both incoming and outgoing. I have tried using Socat before to proxy the connection but that didn’t work either. Maybe I got the command wrong?