I am trying to get over my cgnat problem and people suggested online to VPN tunnel to a server with a public IP. Now, I was able to connect from my pfSense to the raspberry pi with PiVPN. How can I make the duckdns validation?
server 10.8.0.0 255.255.255.0
# Set your primary domain name server address for clients
#site to site vpn
route 10.0.0.0 255.255.255.0 10.8.0.2
push "route 192.168.2.0 255.255.255.0"
push "dhcp-option DNS 10.8.0.1"
#push "dhcp-option DNS 220.127.116.11"
#push "dhcp-option DNS 18.104.22.168"
# Prevent DNS leaks on Windows
# Override the Client default gateway by using 0.0.0.0/1 and
# 22.214.171.124/1 rather than 0.0.0.0/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
keepalive 1800 3600
status /var/log/openvpn-status.log 20
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
# Generated for use by PiVPN.io
push "route 192.168.2.0 255.255.255.0 10.8.0.1"
ifconfig-push 10.8.0.2 255.255.255.0
iroute 10.0.0.0 255.255.255.0
Sometimes I can ping the pfSense from the PiVPN but not vise versa. Should better opt to try SSH tunnel instead of OpenVPN site to site?
If you need more information just let me know. All suggestions will help!