看板 FreeBSD 關於我們 聯絡資訊
自已目前可以利用 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