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

Re: IP address and ipfwadm



Elie Rosenblum wrote:
> $IPADDR=`ifconfig ppp0|perl -ne 'print $1 if (/inet addr:(\S+)\s/);'`
> ipfwadm -A -a -P $IPADDR -D 0/0

It is what I want, thanks, though I found that I don't need '$' for the
first line.

Lawrence


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: