用Packet Filter(PF) 做 IP mapping 遇 … - BBS

Table of Contents

※ 引述《starlition (unknown)》之銘言:
: 加一行 nat on $int_if from 192.168.198.3 port 220 to any -> $static_if
: 我印象中
: NAT的封包不需另外pass就會通過
: (也就是說pass對nat無意義? <- 不大確定)

嗯, 結果是一樣不通, 此行於 pfctl -vsn 中完全沒有處理到封包

nat on em1 inet from 192.168.198.3 port = imap3 to any -> 固IP
[ Evaluations: 40121 Packets: 0 Bytes: 0 States: 0
]
[ Inserted: uid 0 pid 16269 ]


--

All Comments