2024-10-25
Recently I have switched my broadband provide to BT Openreach. Effectively
decluttering my signal path as this doesn’t require
one of those hubs you normally get from your ISP.
However this requires PPPoE configuration
The eth0
here is a WAN port connected to openreach wall socket.
If you have an existing configuration on the eth0 interface
it’s best to remove it.
configure
delete interfaces ethernet eth0 address
delete interfaces ethernet eth0 firewall
delete firewall ipv6-name WANv6_IN
delete firewall ipv6-name WANv6_LOCAL
delete service nat
commit
save
exit
Now we can setup pppoe on the wan port
configure
set interfaces ethernet eth0 pppoe 0 default-route force
set interfaces ethernet eth0 pppoe 0 mtu 1492
set interfaces ethernet eth0 pppoe 0 password <pwd>
set interfaces ethernet eth0 pppoe 0 user-id <yourid>
set service nat rule 5010 type masquerade
set service nat rule 5010 outbound-interface pppoe0
set interfaces ethernet eth0 pppoe 0 firewall in name WAN_IN
set interfaces ethernet eth0 pppoe 0 firewall local name WAN_LOCAL
set firewall options mss-clamp interface-type pppoe
set firewall options mss-clamp mss 1452
set port-forward wan-interface pppoe0
commit
save
exit
reboot