Re: IPTABLES and DHCP

2001-12-07 Thread Brian Kerhin
t;>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 12/7/01, 4:43:08 AM, Sean Quinlan <[EMAIL PROTECTED]> wrote regarding Re: IPTABLES and DHCP: > --- Randolph S. Kahle <[EMAIL PROTECTED]> (2001-12-07 04:45):

Re: IPTABLES and DHCP

2001-12-07 Thread Sean Quinlan
--- Randolph S. Kahle <[EMAIL PROTECTED]> (2001-12-07 04:45): > I am configuring a firewall that will run dhcpcd on eth0 (it is > connected to a cable modem). > > I have a firewall rule set (for IPTABLES) that is working on another > machine with a fixed IP for eth0 > > In the rule set I have sta

Re: IPTABLES and DHCP

2001-12-07 Thread Jor-el
On 6 Dec 2001, Randolph S. Kahle wrote: > > My question is this --> How do I synchronize the IP address for eth0 > that dhcpcd secures with the rule in iptables? > > It seems to me that I need to run some script or take some action each > time dhcpcd secures a new IP address. > Randy,

Re: IPTABLES and DHCP

2001-12-07 Thread Pontus Edvardsson
Hi, Just read the ip from ifconfig... IP_INTERNET=`ifconfig eth0 | grep inet | awk '{ print $2 }' | cut -d: -f2 | cut -d' ' -f1` /Pontus - Original Message - From: "Randolph S. Kahle" <[EMAIL PROTECTED]> To: Sent: Friday, December 07, 2001 06:45 Subject: IPTABLES and DHCP > I am config