Need some help with routing between sites thru openvpn
-
Hello every one. Got last issue with my project of reaching local IP from external IP.
So I have 2 sites with 2 ProxMox servers with running 2 PfSense on both sites.
VPN is already done with OpenVPN (was Ipsec also but I change it )and connection is fine. I can reach all IPs from both PfSense shells.
Site 1 - got 2 External IPs + internal 192.168.0.0 network
Site 2 - got 1 External IP + internal 192.168.1.0 networkSite 1 got 2 WAN IPs
I'm trying to port forward (or 1:1) second external IP from Site 1 to Site 2 local IP.If I'm doing Port Forward with Site 1 local IP - all works good
If I'm changing to Site 2 local IP - nothing works. Getting state 0:0. -
@melcosoft You likely want to do WAN failover and have a Dynamic DNS entry committed to whatever your primary gateway is at the moment and have the Site 1 OVPNS configured to use the failover gateway group for your connection.
That's how my connection is set up (when I have Multi-WAN -- which is not the case right now) and the DynDNS record is set up for a 30-second resolution. Total overkill 99.9995% of the time but very helpful when you have a fail-over and you need an FQDN to resolve back to you when you connect to the remote host.