看板FreeBSD
标 题Re: pf请教
发信站I-Shou University BBS (Fri Mar 24 18:01:48 2006)
转信站ptt!ctu-reader!Spring!news.nctu!news.ntu!news.au!news.isu!isu
※ 引述《[email protected] (yufun)》之铭言:
> # nat/rdr
> nat on $ext_if from $nat_pass to any -> ($ext_if)
> rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 8021
在 rdr 之後加上
pass in on $int_if route-to lo0 proto tcp from any to localhost port 8021
试试看。
--
╭──────╮ ╭───────╮
│头发烫坏啊?│ │哼﹋这是自然卷│
╰─┬────╯ ╰─┬─────╯
╰ ╯
ε ξ
--
┌╗┬─ Origin:《Ψ义守观山风情Ψ》<bbs.isu.edu.tw> ─┬╖╔╗
╚┘╙─ From : 61.64.149.196 ──────────╛└
╝╝