|
|
If I used this guide http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php
to create eth0:0 and eth0:1 and eth0:2 and told openvpn to listen (local x.x.x.x) on the ip addresses assigned to eth0:0 (daemon 1) and eth0:1 (daemon 2), could I then issue this command to nat traffic from both daemon to eth0:2
iptables -t nat -A POSTROUTING -s 10.8.1.0/24 -o eth0:2 -j MASQUERADE ##first one
iptables -t nat -A POSTROUTING -s
10.8.2.0/24 -o eth0:2 -j MASQUERADE ##second one
Thanks, Josh
On 2/5/07, macfreak2048@xxxxxxxxx <macfreak2048@xxxxxxxxx> wrote:
Hello,
I have an OpenVPN server running two daemons on the same port on two different IP addresses. I want each daemon to NAT its traffic to the same third IP address. Example: all users connected to both daemon 1 and 2 have their traffic sent through the same NAT'd IP address on the server. All three of these IP addresses are public and when users are browsing through the VPN, I want all of their public IP addresses to be the same (the third IP address).
Thanks, Josh
-------------------------------------------------------------------------
Get stuff done quickly with pre-integrated technology to make your job easier. _______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|