1
Tutorials and FAQs / Re: HOWTO - Routing Traffic over Private VPN
« on: December 24, 2021, 03:32:14 am »
I'm posting a quick solution for those with a DNS failure using Policy Based Routing (or just VPN in general).
I set up a fresh opnSense install.
I set up a VPN per this tutorial: https://support.nordvpn.com/Connectivity/Router/1292598142/OPNsense-19-1-setup-with-NordVPN.htm
The only deviation I have is on Step 13, for a PBR. Instead of routing all LAN through the VPN, I set up a rule to only send a subset (addresses below 192.168.x.y/z)
I had all the same issues of others in which IPs not going through the VPN were just fine but those going through the VPN could ping and text, but not "connect".
After hours of searching, I came across this tutorial: https://homenetworkguy.com/how-to/configure-opnsense-firewall-rules/
I added a firewall rule for DNS (port 53) and put it at the top of my Firewall -> LAN -> Rules list.
Voila. It's currently stable for me at the moment.
I set up a fresh opnSense install.
I set up a VPN per this tutorial: https://support.nordvpn.com/Connectivity/Router/1292598142/OPNsense-19-1-setup-with-NordVPN.htm
The only deviation I have is on Step 13, for a PBR. Instead of routing all LAN through the VPN, I set up a rule to only send a subset (addresses below 192.168.x.y/z)
I had all the same issues of others in which IPs not going through the VPN were just fine but those going through the VPN could ping and text, but not "connect".
After hours of searching, I came across this tutorial: https://homenetworkguy.com/how-to/configure-opnsense-firewall-rules/
I added a firewall rule for DNS (port 53) and put it at the top of my Firewall -> LAN -> Rules list.
Voila. It's currently stable for me at the moment.