"EdgeRouter X SFP" 修訂間的差異
出自 CH 維基百科
行 32: | 行 32: | ||
'''PPPOE Relay''' | '''PPPOE Relay''' | ||
sudo pppoe-relay -S eth0 -C Switch0 | sudo pppoe-relay -S eth0 -C Switch0 | ||
+ | |||
+ | '''UPnP''' | ||
+ | Wizards -> UPnP | ||
+ | Internal interface:switch0 External interface:pppoe0 |
於 2019年7月17日 (三) 10:51 的修訂
IPv6 of Hinet pppoe P.S. eth0為WAN sudo su configure set interfaces ethernet eth0 pppoe 0 ipv6 enable set interfaces ethernet eth0 pppoe 0 ipv6 address autoconf set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 prefix-length 64 set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 interface switch0 set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 interface switch0 service slaac set interfaces switch switch0 ipv6 router-advert prefix ::/64 commit save exit reboot y
硬體加速 configure set system offload hwnat enable commit save P.S.建議重啟
Port Forwarding WAN interface pppoe0 Auto firewall no Enable LAN interface swtch0 Firewall Policies WAN_IN 新增規則:Basic頁面 Action->Accept Destination頁面 輸入port
PPPOE Relay sudo pppoe-relay -S eth0 -C Switch0
UPnP Wizards -> UPnP Internal interface:switch0 External interface:pppoe0