ipfw 與 nat 外部ip 重導的問題 - BBS
By Zenobia
at 2008-01-31T16:28
at 2008-01-31T16:28
Table of Contents
※ 引述《rightflow (交大再見,畢業了...)》之銘言:
: ${fwcmd} add 1020 divert natd ip from any to 10.0.0.1 via fxp0
: ${fwcmd} add 1040 divert natd ip from 192.168.0.0/16 to any
這兩行改成下面這一行試試看
${fwcmd} add 1020 divert natd ip from 192.168.0.0/16 to any via fxp0
: ${fwcmd} add 30030 pass ip from 10.0.0.1 to any keep-state
: ${fwcmd} add 30030 pass ip from 192.168.0.0/16 to any keep-state
: ${fwcmd} allow tcp from any to me 25
--
: ${fwcmd} add 1020 divert natd ip from any to 10.0.0.1 via fxp0
: ${fwcmd} add 1040 divert natd ip from 192.168.0.0/16 to any
這兩行改成下面這一行試試看
${fwcmd} add 1020 divert natd ip from 192.168.0.0/16 to any via fxp0
: ${fwcmd} add 30030 pass ip from 10.0.0.1 to any keep-state
: ${fwcmd} add 30030 pass ip from 192.168.0.0/16 to any keep-state
: ${fwcmd} allow tcp from any to me 25
--
Tags:
BBS
All Comments
Related Posts
FreeBSD的squid error
By Selena
at 2008-01-31T16:22
at 2008-01-31T16:22
FreeBSD的squid error
By Rebecca
at 2008-01-31T11:32
at 2008-01-31T11:32
FreeBSD的squid error
By Edwina
at 2008-01-31T11:30
at 2008-01-31T11:30
ipfw 與 nat 外部ip 重導的問題
By Audriana
at 2008-01-31T11:17
at 2008-01-31T11:17
FreeBSD的squid error
By Charlie
at 2008-01-31T10:43
at 2008-01-31T10:43