linux-2.4.20 iptables-1.2.7a DHCP on EXTIF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Whoops should read:

However,  # iptables -t nat -A POSTROUTING -o eth1 -j SNAT -to $EXTIP
works!



-----Original Message-----
From: Storm D. J. Petersen [mailto:stormp@telus.net]
Sent: Thursday, February 20, 2003 7:48 PM
To: netfilter@lists.netfilter.org
Subject: linux-2.4.20 iptables-1.2.7a DHCP on EXTIF
Importance: High


Hi,

I am still confused. ;-)

I upgraded my kernel to 2.4.20 and now  # iptables -t nat -A POSTROUTING -o
eth0 -j MASQUERADE  doesn't work.

However,  # iptables -t nat -A POSTROUTING -j SNAT -to $EXTIP    works!

My problem is that I am behind a cable modem that changes my IP address
daily.  So, what does one do if their eternal interface uses DHCP?
Thanks.
S.




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux