OPNsense Forum

English Forums => Virtual private networks => Topic started by: TheForumTroll on June 02, 2023, 09:26:01 PM

Title: Wireguard Always-On dies when behind OPNsense
Post by: TheForumTroll on June 02, 2023, 09:26:01 PM
Hello experts  :)

I have a quick question: I have WireGuard set to Always On, on some phones, but when they are on the local network on Wi-Fi inside OPNsense VPN stops working/can't connect. What is the correct way to fix this, so it isn't necessary to turn the VPN on and off? DNS override? NAT reflection?  ???

Thanks!
Title: Re: Wireguard Always-On dies when behind OPNsense
Post by: Kinerg on June 03, 2023, 12:55:51 AM
You need to create a NAT port forward rule for the WireGuard interface. See attached picture.