高手看下我这个pf规则有什么问题
#macroslan = "em0"
wan = "em1"
#options
set loginterface em0
set loginterface em1
set optimization normal
set limit states 100000
set block-policy drop
#scrub
#scrub in all fragment reassemble
#queue
#NAT
rdr on $wan proto tcp from any to 61.145.231.28 port 80 -> 192.168.4.5
nat on $wan from $lan:network to any -> $wan
pass in on $wan proto tcp from any to 192.168.4.5 port 80
为什么外网还是不能访问192.168.4.5上的web服务哪? 没有搞pf吗?
页:
[1]