Hello all, I am trying to get OpenVPN Access Server to generate OVPN files that will work for my business. We need three different connections to the WAN IP of the AS box over TCP, to the WAN IP over UDP, and to the LAN IP over UDP.
Right now this is what is generated by AS
remote <WANIP> 1194 udp
remote <WANIP> 1194 udp
remote <WANIP> 443 tcp
remote <WANIP> 1194 udp
remote <WANIP> 1194 udp
remote <WANIP> 1194 udp
remote <WANIP> 1194 udp
remote <WANIP> 1194 udp
...
... other configuration settings
...
#Extra user-defined configuration
remote <LANIP> 1194 udp
This should work in theory, but the VPN client gives up trying to connect before it reaches the LANIP entry. If I edit the config in notepad so that it's like this
remote <WANIP> 1194 udp
remote <WANIP> 443 tcp
...
... other configuration settings
...
#Extra user-defined configuration
remote <LANIP> 1194 udp
then it works and the client connects to the LANIP without issue.
Can anyone offer any suggestions for getting OpenVPN AS to not put so many duplicate remote entries?
Thanks