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 both of 0.0.0.0.
>
> (AIUI this network/mask has nothing to do with Windows routing, and
> purely affects which IP addresses the device driver will fake ARP
> responses for. Setting them to zero means that the device driver does
> proxy ARP for *everything*, and you can add them all as 'On-link'
> routes.)
>
> Having done that, I can configure the local IP address and point-to-
> point route in Windows (8.1) by running:
>
> netsh interface ip set address $IFINDEX status $LOCALIP
> route add $REMOTEIP mask 255.255.255.255 0.0.0.0 if $IFINDEX
>
> Can we get p2p routing working in Windows that way or am I missing
> something? It seems to be working here...
>
>
sorry for asking, but what's the use case for this?

And you say "configure it with the local IP address" - which address is 
that? the address that OpenVPN assigns? or the address of a local 
adapter on the Windows host?

JJK

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to