* masquerade over multiple gw
@ 2003-02-23 11:37 Esteban Ribicic
2003-02-26 11:14 ` Cedric Blancher
0 siblings, 1 reply; 2+ messages in thread
From: Esteban Ribicic @ 2003-02-23 11:37 UTC (permalink / raw)
To: netfilter
hi,
im trying to masquerade my internal network to internet over two gw.
it seems imposible to specify more than one -o interface right?
now im using this:
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
but i still have ppp0 wich also is conected to the internet..
any idea?
thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: masquerade over multiple gw
2003-02-23 11:37 masquerade over multiple gw Esteban Ribicic
@ 2003-02-26 11:14 ` Cedric Blancher
0 siblings, 0 replies; 2+ messages in thread
From: Cedric Blancher @ 2003-02-26 11:14 UTC (permalink / raw)
To: Esteban Ribicic; +Cc: netfilter
Le dim 23/02/2003 à 12:37, Esteban Ribicic a écrit :
> im trying to masquerade my internal network to internet over two gw.
> it seems imposible to specify more than one -o interface right?
> now im using this:
> iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
> but i still have ppp0 wich also is conected to the internet..
> any idea?
Juste add a second rule...
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Then, packets routed through ppp0 will be masqueraded.
--
Cédric Blancher <blancher@cartel-securite.fr>
IT systems and networks security expert - Cartel Sécurité
Phone : +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-26 11:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-23 11:37 masquerade over multiple gw Esteban Ribicic
2003-02-26 11:14 ` Cedric Blancher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox