Re: [Openvpn-devel] p2p topology on Windows

2016-09-30 Thread David Woodhouse
On Fri, 2016-09-30 at 10:11 +0200, Jan Just Keijser wrote: > > I'm still grappling for the "killer use case" for this - yes, it would be > nice to implement support on all platforms for all > modes, **BUT** I don't think anybody actually uses 'topology p2p' at this > moment (because Windows

Re: [Openvpn-devel] p2p topology on Windows

2016-09-30 Thread Jan Just Keijser
Hi David, On 26/09/16 14:08, David Woodhouse wrote: > On Mon, 2016-09-26 at 13:34 +0200, Jan Just Keijser wrote: >> this sounds like a typical use case for "assign a public IP address". >> This is already possible with topology subnet and some special config >> stuff on the server side, e.g. >> -

Re: [Openvpn-devel] p2p topology on Windows

2016-09-26 Thread David Woodhouse
On Mon, 2016-09-26 at 13:34 +0200, Jan Just Keijser wrote: > > this sounds like a typical use case for "assign a public IP address". > This is already possible with topology subnet and some special config > stuff on the server side, e.g. > - give the openvpn server an IP range that overlaps

Re: [Openvpn-devel] p2p topology on Windows

2016-09-26 Thread Jan Just Keijser
Hi David, On 25/09/16 17:31, David Woodhouse wrote: > On Sun, 2016-09-25 at 16:40 +0200, Jan Just Keijser wrote: >> thanks for clarifying - but with OpenVPN 2.4 the default topology mode >> will be 'subnet topology', in which we also assign a single IP address >> to each client. Is there a

Re: [Openvpn-devel] p2p topology on Windows

2016-09-25 Thread Jan Just Keijser
Hi David, On 24/09/16 01:21, David Woodhouse wrote: > On Sat, 2016-09-24 at 00:01 +0200, Jan Just Keijser wrote: >> sorry for asking, but what's the use case for this? > The use case for point-to-point? It allows you to use a single IP > address per client instead of having to set aside a whole

Re: [Openvpn-devel] p2p topology on Windows

2016-09-23 Thread Marvin Adeff
I may be wrong, but this sounds suspiciously like what we use Gava's client-nat patch for. To enable us to NAT the device's local IP to the one assigned dynamically by openvpn (dhcp). Marvin Sent from my iPhone > On Sep 23, 2016, at 4:21 PM, David Woodhouse wrote: > >>

Re: [Openvpn-devel] p2p topology on Windows

2016-09-23 Thread David Woodhouse
On Sat, 2016-09-24 at 00:01 +0200, Jan Just Keijser wrote: > > sorry for asking, but what's the use case for this? The use case for point-to-point? It allows you to use a single IP address per client instead of having to set aside a whole /30 subnet per client as with the 'net30' mode. (And in

Re: [Openvpn-devel] p2p topology on Windows

2016-09-23 Thread Jan Just Keijser
Hi David, On 23/09/16 23:34, David Woodhouse wrote: > I believe I have P2P working on a Windows (8.1) client (with > OpenConnect, but I don't see why it can't work for OpenVPN). > > I configure the TAP device (with TAP_IOCTL_CONFIG_TUN) with the local > IP address, and with network and netmask

[Openvpn-devel] p2p topology on Windows

2016-09-23 Thread David Woodhouse
I believe I have P2P working on a Windows (8.1) client (with OpenConnect, but I don't see why it can't work for OpenVPN). I configure the TAP device (with TAP_IOCTL_CONFIG_TUN) with the local IP address, and with network and netmask both of 0.0.0.0. (AIUI this network/mask has nothing to do with