ipfw自定义ipfw.rules的内容如下:
[code:1]add 00400 divert natd ip from any to any via rl0
add 00001 deny log ip from any to any ipoptions rr
add 00002 deny log ip from any to any ipoptions ts
add 00003 deny log ip from any to any ipoptions ssrr
add 00004 deny log ip from any to any ipoptions lsrr
add 00005 deny tcp from any to any in tcpflags syn,fin
add 10000 allow tcp from any to 192.168.0.100 22 in
add 10001 allow tcp from any to 192.168.0.100 80 in
add 10002 allow tcp from any to 192.168.0.100 21 in
add 19997 check-state
add 19998 allow tcp from any to any out keep-state setup
add 19999 allow tcp from any to any out
add 20001 allow udp from any 53 to me in recv rl0
add 20002 allow udp from any to 192.168.0.100 53 in recv rl0
add 29999 allow udp from any to any out
add 30000 allow icmp from any to any icmptypes 3
add 30001 allow icmp from any to any icmptypes 4
add 30002 allow icmp from any to any icmptypes 8 out
add 30003 allow icmp from any to any icmptypes 0 in
add 30004 allow icmp from any to any icmptypes 11 in
add 40000 allow all from 192.168.0.0/16 to any
add 40001 allow all from any to 192.168.0.0/16[/code:1]
我想每台客户机82台都通过192.168.0.81网关上网。
帮我看看这样设置有什么不妥的地方?