kenzopl wrote
vpn works fine, it's connecting with eth0:1 1.2.3.5, not 1.2.3.4, but when I try to route my traffic from windows client throughout the vpn, then on the internet I'm still visible as 1.2.3.4, not 1.2.3.5
(#1) for a basic iptables NAT where 10.8.0.x is the vpn network: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE, or (#2) to choose what IP address to NAT as, you can use iptables -t nat -I POSTROUTING -o eth0 -j SNAT --to <IP ADDRESS>, or (#3)
http://netfilter.org/documentation/HOWTO//NAT-HOWTO.html for more info
sounds like #2 is what you need