Re: [help]PPPoE + NATD 就是跑不起來?

看板FreeBSD作者時間21年前 (2004/08/13 02:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/12 (看更多)
※ 引述《Seeyou@bbs.ee.ntu.edu.tw (我愛 TX)》之銘言: : ※ 引述《bluce-huang.bbs@bbs.nsysu.edu.tw (夏夜微風 )》之銘言: : : /sbin/ipfw add divert natd all from any to any via vr1 : : 你改一下看看因為你對外網卡是 vr1 不是tun0 : 先感謝您的回應,我明天白天會再測試一下 : 只是感覺"對外的 device" 應該是 tun0,應該不是 vr1... 是 tun0 沒錯, 跑 vr1 反而會出不去. 只是您得跑 natd . /etc/rc.conf: natd_enable="YES" natd_flags="-f /etc/natd.conf" /etc/natd.conf: dynamic yes interface tun0 use_sockets yes 加好以後先自己手動跑, 下次開機會自動起來. # /sbin/natd -f /etc/natd.conf -- Linux is for people who want to know why it works. Mac is for people who don't want to know why it works. DOS is for people who want to know why it does not work. Windows is for people who don't want to know why it does not work. -- ※Origin:星 情 小 築 < Star.leobbs.net > ※From: 210-66-93-96.adsl.dynamic.seed.net.tw
文章代碼(AID): #116x2q00 (FreeBSD)
討論串 (同標題文章)
文章代碼(AID): #116x2q00 (FreeBSD)