At 05:53 PM 1.6.2003 +0000, Jonathan Belson wrote:
>Jack L. Stone wrote:
>> The best way to do this is to use "awk" to determine and set a variable for
>> the external IP every time it changes and then refer to that variable in
>> your rules.
>
>ifconfig | grep ^xl0 -1 | tail -n 1 | awk '{ print $2  }'
>
>Any neater way? :-)
>
>
>--Jon
>
On the nose, Jon....!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to