Re: Using OpenBSD as an L2TP client with A ISP

2021-10-27 Thread Maurice McCarthy
Ah, OK. Thank you Stuart.


Re: Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Stuart Henderson
On 2021-10-26, Maurice McCarthy  wrote:
> tunnelbroker.net

If you want access to part but not all of the v6 internet, that's a
possibility. But it doesn't help with getting access to the existing v4
and v6 address ranges (with working geolocation and working with iplayer
etc) from an a l2tp connection..




Re: Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Maurice McCarthy
tunnelbroker.net


Re: Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Matt Dainty
* Stuart Henderson  [2021-10-26 11:35:06]:
> On 2021-10-26, Matt Dainty  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 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 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).

NetBSD looks like it has an IPv6-aware ppp(4) and pppd(8) but I haven't
peeked at the source at all, that's just from the man pages, I was still
at the stage of figuring out if this was even viable.

> AFAIK the only ppp code in OpenBSD that supports IPv6 inside PPP is pppoe(4).

I taught pppoe(4) about RFC 4638 which I've relied on since, but that was
9+ years ago so I've lost my familiarity with that code.

I'll have a look at the sources and do some research.

Cheers

Matt



Re: Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Stuart Henderson
On 2021-10-26, Matt Dainty  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 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 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")




Re: Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Brian Brombacher



> On Oct 26, 2021, at 9:31 AM, Matt Dainty  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 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 have assigned to me on my vDSL connection.
> 
> Has anyone done this with OpenBSD? I understand xl2tpd is in ports but does
> 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?
> 
> Thanks
> 
> Matt
> 

Not the solution you asked about, but getting an IPv6 block from a tunnel 
broker is free and fast.




Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Matt Dainty
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 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 have assigned to me on my vDSL connection.

Has anyone done this with OpenBSD? I understand xl2tpd is in ports but does
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?

Thanks

Matt