OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: supermag on July 21, 2018, 01:42:22 pm

Title: How to set up DNS resolver and NAT for VPN usage?
Post by: supermag on July 21, 2018, 01:42:22 pm
Hello, following the "how to " for my VPN provider, I got the VPN client to connect.
The only thing that I cannot firgure out is how to set the Outbound NAT Entry correctly, and NAT rulses since i cannot find the gateway option. I have found and set up the DNS servers under settings/general.
They are :
77.109.148.136    port  53
77.109.148.137    port  53
The reason I am using opnsense is that Pfsense currently has a bug that causes the openvpn to not work with my provider.
I have simply given up on Pfsense after a full day of trying to get it to work, even my providers support does not figure out what the problem is.

This is how the DNS resolver is supposed to be set up if used with Pfsense:
https://www.dropbox.com/s/c69g0yu54n52urx/opnsense-dns-resolve.jpg?dl=0
I cannot figure out how it is supposed to look on OPNsense.


The NAT rules was easy, but I am including the
NAT rules from my provider just in case:
https://www.dropbox.com/s/m2b73wjjtir9gx1/opnsense-nat.jpg?dl=0