I currently have an openVPN server with multiple external IP addresses.
I'd like to have all VPN connections (tun0 interface, and/or 10.19.88.xx IP range) to take the 2nd external IP address as 'public IP', instead of the first one.
As an example, using fictive addresses:
Deault eth0 address: 11.12.13.1 (server.domain.tld)
eth0:0 address: 11.12.13.2 (vpn.domain.tld)
All VPN connections are currently using 11.12.13.1, instead of 11.12.13.2.
Is there any way to solve this (using iptables?)
Thanks
Best Answer
Try:
Or even better ;)