Openbsd /
Pppoe
In /etc/hostname.pppoe0:
inet 0.0.0.0 255.255.255.255 NONE \ pppoedev nfe0 authproto pap \ authname '12345@example.com' authkey 'abcd1234' up dest 0.0.0.1 !/sbin/route add default -ifp pppoe0 0.0.0.1
In /etc/hostname.nfe0:
up
In /etc/pf.conf:
match on pppoe0 scrub (max-mss 1440)
Make sure to run syspatch
or you may encounter "pppoe0: LCP keepalive timeout" errors.