On 2021-10-26, Matt Dainty <m...@bodgit-n-scarper.com> wrote: > I'm currently using OpenBSD with an Andrews & Arnold vDSL connection so I have > a pppoe(4) interface, etc. and this works for IPv4 & IPv6. > > The problem is because of the rubbish rural Openreach infrastructure here in > the UK I only get a stable 3.5 Mb/s, however another ISP (Voneus) has been > installing fibre in the area and can offer a 100+ Mb/s connection, but it > looks > like their network is all sorts of CGNAT and they don't seem to offer IPv6 > addresses. > > So I figured I'll just use the A&A L2TP relay service and use this new fast > connection to tunnel all of my traffic between the two ISPs and maintain the > IPv4 & IPv6 addesses that A&A have assigned to me on my vDSL connection. > > Has anyone done this with OpenBSD? I understand xl2tpd is in ports but does
This (aaisp l2tp) is exactly why I wrote the port for xl2tpd, though in my case it was only for emergency use while a line was down. > everything work through the tunnel, including IPv6? I saw mention about 8-9 > years ago that the pppd(8) that xl2tpd uses doesn't do IPv6. Is that still the > case? Yes that's still the case about pppd(8) and IPv6. Unfortunately pppd(8) upstream removed most OS support somewhere after the version we currently have so updating it is decidedly non-trivial (I think there might have been a few versions between ours, last real update in '98, and the last one with BSD support, but it's quite far from what upstream has now). You might think of looking at npppd(8) but it won't help, at least without further work: firstly it doesn't support client-side only server-side, and secondly its v6 support is limited to tunnel endpoints, it doesn't do ipv6 inside ppp. AFAIK the only ppp code in OpenBSD that supports IPv6 inside PPP is pppoe(4). (Pragmatically the easiest/cheapest way to handle l2tp-client is probably via a mikrotik box - setup is pretty straightforward, the main gotcha is you're likely to need the "/ip firewall mangle" equivalent of "scrub max-mss")