No internet acess through openvpn. Lan works fine
I have a problem, my friend connects to my openvpn just fine, but he can´t access the internet.
I am pretty newb on pfsense, actually a friend of mine set it up for me.
Can you guys give me some tips of what could be wrong?
Here is my server.1conf file:
keepalive 10 60
server-bridge 172.16.10.1 255.255.255.0 172.16.10.200 172.16.10.250
auth-user-pass-verify /var/etc/openvpn/server1.php via-env
management /var/etc/openvpn/server1.sock unix
push "dhcp-option DNS 126.96.36.199"
push "redirect-gateway def1"
In your OpenVPN rules make sure to have an allow rule from the OpenVPN net to the gateway and in your outgoing rules, make sure that you're allowing outgoing connections from OpenVPN out (you should already have some WAN rules there).
Thank you, that worked perfectly!