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

Re: Iptables question(s)



On Sun, Jul 22, 2001 at 02:18:24PM -0600, Stefan Srdic wrote:
> pascal weller wrote:
> 
> > ifconfig should know your ip as well ;)
> >
> > I use:
> >
> > inet_ip=$(/sbin/ifconfig $inet | awk '/inet addr/ { gsub(".*:", "", $2)
> > ; print $2 }')
> >
> > Pascal
> 
> Thanks, I modified things to suit my system and everything
> appears to be working fine :-) Any ideas on how I could get my
> firewall script to re-execute after a DHCP client lease
> expires and renews?

Check the pump manpage (as per my message last week.)

-- 
Michael Wood        | Tel: +27 21 762 0276 | http://www.kingsley.co.za/
wood@kingsley.co.za | Fax: +27 21 761 9930 | Kingsley Technologies



Reply to: