Hi,
I have VPS with 2 different IP address.
How can I use my openvpn access server to use 2 of this ips?
I want 1 user for the first IP and 1 user to the second ip.
Thank you !
How to use my 2 server ips?
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: How to use my 2 server ips?
That is actually not a scenario that the OpenVPN Access Server was designed for, sorry.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Thu Feb 16, 2017 1:31 pm
Re: How to use my 2 server ips?
So how I can install 2 different openvpn servers in one machine?
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: How to use my 2 server ips?
OpenVPN Access Server doesn't support that, sorry.
The best you can do is enable the outgoing source NAT to use both IP addresses randomly when sending out traffic to the Internet.
cd /usr/local/openvpn_as/scripts/
./sacli --key "vpn.server.routing.snat_source.0" --value "eth0:123.45.67.88:123.45.67.89" ConfigPut
The best you can do is enable the outgoing source NAT to use both IP addresses randomly when sending out traffic to the Internet.
cd /usr/local/openvpn_as/scripts/
./sacli --key "vpn.server.routing.snat_source.0" --value "eth0:123.45.67.88:123.45.67.89" ConfigPut
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Thu Feb 16, 2017 1:31 pm
Re: How to use my 2 server ips?
I saw that I can set in user settings "Select IP Addressing".
Maybe I can use this option to select which IP user will use?
Maybe I can use this option to select which IP user will use?