Dual-WAN access configuration
-
OVPN newbie here. I'm trying to configure my dual-WAN Netgate 3100 for access from outside on both WANs.
Using the wizard, I've successfully configured one service connection on WAN. But I can't get the second service to work on OPT1.
The docs say:
"Local port
The port number upon which OpenVPN will listen for incoming connections from peers. Firewall rules must allow traffic to this port and this port must be specified in the client configuration.The port for each server must be unique for each interface when using a standard UDP or TCP Protocol choice and must be globally unique if using a multihome Protocol."
My working OVPN server on WAN is using port 1194. Since the docs say "the port for each server must be unique" I've set the OPT1 server to use port 1195.
Per the docs I'm trying to set a firewall rule to allow traffic on port 1195. However, the firewall rule dropdown menu doesn't present a choice for port 1195 - only 1194.
Is there some place where I am supposed to configure port 1195 to be available in the dropdown? Or is there something I misunderstand in the configuration?
Thanks in advance!
-
@chitchat
My two cents:Configure openvpn to tisten on localhost.
Create a portforward in both WANs, from the Internet (any), to 127.0.0.1 port 1194 UDP.
Use DDNS or configure two remote entries in the .ovpn, with a timeout of 2 seconds. -
Other. 1195.. however if this is for failover when you should use 1194 on that interface as well..
The solution provided above seems interesting..
If you are truly looking for multiple VPN instances then yes you do need to use a different port.