Re: OpenVPN listening on dual-stack socket

2025-04-04 Thread Stuart Henderson
On 2025-04-04, Stuart Henderson wrote: > > - Java is a total pain - it relies on inet6 sockets working with v4+v6 > to be able to use dual-stack at all - otherwise you have to set a flag > when you run a program to tell the jdk whether it should be v4-only or > v6-only. (and that is for client-si

Re: OpenVPN listening on dual-stack socket

2025-04-04 Thread Stuart Henderson
On 2025-04-04, David Gwynne wrote: > On Fri, Apr 04, 2025 at 07:26:34AM +1000, Stuart Longland VK4MSL wrote: >> >> I've kludged around this in L2 configurations by running two OpenVPN daemons >> on different `tap` interfaces and bridging them (along with the Ethernet >> they connect to), but I ca

Re: OpenVPN listening on dual-stack socket

2025-04-04 Thread Stefan Sperling
On Fri, Apr 04, 2025 at 02:47:42PM +1000, Stuart Longland VK4MSL wrote: > On 4/4/25 14:18, David Gwynne wrote: > > so linux has a feature where it will map ipv4 connections into the ipv4 > > mapped address space in ipv6 and let you handle them all with a single > > ipv6 listener. have a look for th

Re: OpenVPN listening on dual-stack socket

2025-04-03 Thread Stuart Longland VK4MSL
On 4/4/25 14:18, David Gwynne wrote: so linux has a feature where it will map ipv4 connections into the ipv4 mapped address space in ipv6 and let you handle them all with a single ipv6 listener. have a look for the doco around the "net.ipv6.bindv6only" sysctl on linux for a bit more explanaion. o

Re: OpenVPN listening on dual-stack socket

2025-04-03 Thread David Gwynne
On Fri, Apr 04, 2025 at 07:26:34AM +1000, Stuart Longland VK4MSL wrote: > Hi all, > > I run OpenVPN for my virtual private networking as it's a workhorse I've > gotten to know well over the years and is also one of the few that supports > layer 2 networking (that is, forwarding Ethernet frames ove