OpenVPN - Unable to route traffic through multiple exit Interface

by Tethered   Last Updated July 12, 2019 08:00 AM

Good evening

I have an OpenVPN Server with 3 Wan IP addresses. For instance:

eth0 -- 1.1.1.1 eth0:0 -- 2.2.2.2 eth0:1 -- 3.3.3.3

On client OVPN, I have set remote IP 2.2.2.2.

On OpenVPN server, I have set ip table rule

iptables -t nat -A POSTROUTING -s 10.8.1.0/24 -o eth0:0 -j SNAT --to 2.2.2.2

However, upon connecting to OpenVPN (supposedly via 2.2.2.2) successfully, my outgoing WAN IP will always be 1.1.1.1

What am I missing out? Thank you



Related Questions


Updated May 12, 2017 13:00 PM

Updated December 09, 2015 01:00 AM

Updated June 13, 2019 19:00 PM

Updated February 22, 2017 10:00 AM

Updated March 21, 2017 23:00 PM