看板FreeBSD
标 题Re: [问题] ipfw防火墙设定的问题
发信站SayYA 资讯站 (Thu Jul 31 23:38:23 2008)
转信站ptt!ctu-reader!ctu-peer!news.nctu!News.Math.NCTU!SayYa
※ 引述《[email protected] (NICE~~彭彭!!)》之铭言:
> 只是要能让XP上网,且外面可以远端的到XP,其他外面会进不到XP
> ========================
> /etc/rc.conf
> #===对外网卡===
> ifconfig_rl0="inet 140.115.67.92 netmask 255.255.255.0"
> #===对内网卡===
> ifconfig_rl1="inet 192.168.1.254 netmask 255.255.255.0"
> gateway_enable="YES"
netstat -rn 跟 ipfw list 贴一下
--
静中见真境,淡中识本然
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: 118-166-54-65.dynamic.hinet.net