All of lore.kernel.org
 help / color / mirror / Atom feed
* NAT/MASQ  on eth0 - doubt
@ 2005-05-01  6:14 varun_saa
  2005-05-01 21:48 ` Taylor, Grant
  0 siblings, 1 reply; 2+ messages in thread
From: varun_saa @ 2005-05-01  6:14 UTC (permalink / raw)
  To: netfilter

Hello,
     My server is on Mandriva 10.1
eth0 is WAN with static IP connected to 512K DSL
eth1 is LAN - 192.168.0.0/24 and 192.168.21.0/24

I have used webmin and done :

Do network address translation on external interface:eth0

This gives the following entries in iptables :

# Generated by iptables-save v1.2.9 on Tue Apr 26 14:50:01 2005
*nat
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE


So should I just masq all out ?

Is it possible to use my static IP or 
subnets details to rewrite the above 
masq rule while I am doing a NAT on eth0 ?

If yes how ?

Thanks

Varun



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-01 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01  6:14 NAT/MASQ on eth0 - doubt varun_saa
2005-05-01 21:48 ` Taylor, Grant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.