[EMAIL PROTECTED] wrote:
>
> I want to get tun0's two ip addresses.
> and add ipfw rules to system at my program.
> How can I do it?is there a function? or
> have document describe it. someone please tell me!
ifconfig tun0 | awk {small awk program}
of course WHY do you want to do this?
that may help more..
.
> thank you!
>
> oscar
> [EMAIL PROTECTED]
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> “200家连锁网站,让眼睛尝尝鲜”
> http://www.chinese.com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 163电子邮局,给您更完美Email服务!
> http://www.163.net
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
--
__--_|\ Julian Elischer
/ \ [EMAIL PROTECTED]
( OZ ) World tour 2000
---> X_.---._/ presently in: Budapest
v
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message