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

看板FreeBSD作者時間21年前 (2004/08/11 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/12 (看更多)
自已目前可以利用 ppp 讓 FreeBSD (gateway)上網成功 不過卻沒有辦法讓第二張網卡後面的電腦上網 不知道問題出在那裡,還請大家幫個忙 kernel部份 options NETGRAPH options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT /etc/rc.firewall部份 /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via tun0 /sbin/ipfw add pass all from any to any ppp.conf部份,vr1是接上ADSL modem ### PPPoE nat enable yes set device PPPoE:vr1 set mru 1492 set authname xxx set authkey xxx set dial set login add default HISADDR dial /etc/defaults/rc.conf部份 gateway_enable="Yes" -- ※ Origin: 臺大電機 Maxwell 站 ◆ From: 61-223-136-214.dynamic.hinet.net
文章代碼(AID): #116Wg200 (FreeBSD)
討論串 (同標題文章)
文章代碼(AID): #116Wg200 (FreeBSD)