how do I SNAT to multiple outgoing IP addresses?

Tobias Skytte <[email protected]>
Newsgroups gmane.network.poptop
Message-ID <[email protected]>
Hi,

Sorry if this is slightly OT. 
I have a poptop VPN server with multiple virtual ethernet interfaces in the same 
subnet (e.g. eth0:1 eth0:2 and so on)
I also have a SNAT rule in iptables that currently SNATs everything to the IP of 
eth0:1

How can I somehow use iptables to roundrobin on the ineterfaces or select same 
outgoing interface as incoming GRE packet?
Either so that if a user connects via e.g. eth0:3 then his ppp connection is 
also SNATed out through eth0:3, or so that a an outgoing interface is selected 
in a round-robin fashion by some magick.

Basically I want to be able to give users different 'real IPs'. 

I am using CentOS5


Thanks alot.
 Regards,Tobias

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev

_______________________________________________
Poptop-server mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/poptop-server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.