Page 1 of 1

multiply wan for openvpn server

Posted: Wed Jun 16, 2021 10:25 am
by hawkeye871
hello. How to specify 2 wan ip simultaneously in server.conf I mean to add additional ip address to "local" parameter.

[oconf=]
local 1.1.1.1
port xxxxx
proto tcp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh.pem
[/oconf]

Re: multiply wan for openvpn server

Posted: Wed Jun 16, 2021 10:49 am
by TinCanTech
You can not use more than one --local.

Re: multiply wan for openvpn server

Posted: Wed Jun 16, 2021 12:15 pm
by hawkeye871
as far as i get i'm able to specify either one ip address or do not use --local parameter and as a result allow all ip address. Correct?