Hi. I have Wireguard set up on my OpenWRT router (Raspberry Pi 4) to connect to Torguard. I'm using Policy Routing to route only selected clients through the VPN. That works fine. I have ports forwarded through the firewall and it works when the client goes through the WAN (Xfinity) but when I use Policy Routing to send the traffic through the VPN, the forwarded ports no longer work. I believe it is because the responses are going to the VPN instead of the LAN. I can use tcpdump to see the requests hit the ports on the Wireguard interface. So what do I need to do to redirect the responses to the WAN instead of the Wireguard interface (if that is in fact my problem). Any help would be appreciated.
Question
rob0809 0
Hi. I have Wireguard set up on my OpenWRT router (Raspberry Pi 4) to connect to Torguard. I'm using Policy Routing to route only selected clients through the VPN. That works fine. I have ports forwarded through the firewall and it works when the client goes through the WAN (Xfinity) but when I use Policy Routing to send the traffic through the VPN, the forwarded ports no longer work. I believe it is because the responses are going to the VPN instead of the LAN. I can use tcpdump to see the requests hit the ports on the Wireguard interface. So what do I need to do to redirect the responses to the WAN instead of the Wireguard interface (if that is in fact my problem). Any help would be appreciated.
Thanks,
Rob
Link to post
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.