On Fri, 21 Nov 2003 19:29:28 +0000, Antony Stone wrote > On Friday 21 November 2003 7:25 pm, Alejandro Cabrera Obed wrote: > > > Hi people !!! > > > > I have a basic doubt: I want to connect my Linux with iptables to Intrenet > > via ADSL. Just one question: > > > > Do I have to set > > echo "1" > /proc/sys/net/ipv4/ip_dynadrr > > in order to work with dynamic addresses asigned by my ISP ???? You just need to capture your dynamically assigned IP address at iptables startup time and use it in your rules. I have the following variable assignment in my RH 7.3 startup sdript (all one line): INET_IP=`ifconfig eth1 | grep 'inet addr' | awk -F":" '{print $2}' | sed 's/ Bcast//'` Then just use $INET_IP in your rules. -- Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court tkevans@xxxxxxxxxxx | Owings Mills, MD 21117 http://www.tkevans.com/ | 443-394-3864 http://www.come-here.com/News/ |