/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */

Deeptish Dey wrote:

> hello raf,
> 
> Can Gurus assist me using ipchains/iptables to use more than 1 masq out ip
> address??
> 
> thanks and regards,
> 
> Deeptish

if you want to do this is linux-2.2/ipchains, you
could start by looking at my script at fwup.org.
it doesn't support this but it does support port
forwarding incoming requests to multiple external
addresses (aliases) and making sure that the reply
packets go out using the original destination
address as their source address. so it's a
starting point. you'll want to read the iproute2
documentation.

if you want to use iptables, you won't need iproute2.
just don't use the MASQUERADE target. use SNAT instead
and just specify a different source address for each
internal network.

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to