Quickie fix - I Can access local network but I can't access internet.
-
I have my pfSense / OpenVPN box setup and I am able to access it using my mac+viscosity (great app btw) but I recently put the (push "dhcp-option DNS 10.10.x.x";push "redirect-gateway def1") in my custom options. Now I am able to access the local network that's behind the VPN but I am not able to access the internet anymore, and I am sure it has to do with a firewall rule or forwarding a port but I am not 100% what I am supposed to edit and what parameters are needed. Also when I use the push "dhcp-option DNS x.x.x.x", does that bypass the network DNS that I am connection from and use my DNS? which in my case is OpenDNS. Thanks and I appreciate any help / insight!
-
On the pfSense box, switch to Advanced Outbound NAT and add a rule that will NAT your remote OpenVPN IPs to your box's WAN address. That should get it going.
-
Ok I am just posting to confirm and making sure that I did this correctly.
-
Your destination should be any. (The internet is any ;) )
You need at least another rule with as source your LAN. Otherwise you can reach the internet from the OpenVPN subnet but no longer from the LAN.
An alternative would be to change the source to any as well, but i don't know if you want to allow that. -
Should look like this when you're done.

