ipfw -q flush
ipfw add 100 allow ip from any to any via fxp0
ipfw add 500 divert natd ip from any to any in via xl0
ipfw add 600 divert natd ip from 192.168.2.0/24 to any out via xl0
ipfw add 700 allow udp from any to any 53
ipfw add 800 allow ip from any to any established
ipfw add 900 allow ip from any to any diverted
原帖由 stefanieunix 于 2007-12-24 15:28 发表
不好意思,请问大家都是怎么配的外网IP(在有多个公网IP的情况下),是不是必须要配一个255.255.255.255才能用,多谢!!!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |