[help]PPPoE + NATD 就是跑不起來?
自已目前可以利用 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
討論串 (同標題文章)
完整討論串 (本文為第 1 之 12 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章
154
159