1
20.7 Legacy Series / Re: VPN port forwarding / NAT issue: leaving via WAN instead of tunnel
« on: February 22, 2021, 03:01:17 am »
I have exactly same problem and i switched to pfsense they fix this and in nat rules there is a difference.
On automatic WAN NAT rule i get not only LAN ip adresses but also ip adress from wireguard ip that how wiregurad interface can communicate tunnel over WAN interface.
On opnsense its not there thats why its disconnect wireguard gateway automatically when changing default gateway to wireguard interface
Wireguard interface ip subnet must be in WAN NAT source rule
On automatic WAN NAT rule i get not only LAN ip adresses but also ip adress from wireguard ip that how wiregurad interface can communicate tunnel over WAN interface.
On opnsense its not there thats why its disconnect wireguard gateway automatically when changing default gateway to wireguard interface
Wireguard interface ip subnet must be in WAN NAT source rule