16
19.7 Legacy Series / Re: Wireguard tutorial for client use?
« on: September 01, 2019, 06:11:07 am »Have you read Mullvad Guide at OPNsense Docs?
This link? https://docs.opnsense.org/manual/how-tos/wireguard-client-mullvad.html
I have. I can establish a tunnel to Mullvad. My issue is figuring out the rest, what NAT rules to add for policy routing, what should "allowed IPs" be set to, what should the gateway IP address be set to?
*EDIT*
Ok,
I think I have everything in place, the NAT outbound rule, FW LAN rule with the gateway selected. Unfortunately, the gateway shows as defunct and I cannot get traffic through the tunnel.
You have to put an IP address in the gateway or it won't work.
I have my wireguard server running on a VPS, and I am unable to get policy-based routing to work using a created gateway for wireguard. I have to route all of the LAN subnet out the wireguard interface. But I was able to selectively bypass wireguard with aliases and using the WAN gateway.