2086
Networking / Re: openvpn configuration?
« on: October 04, 2019, 05:02:39 am »
Hi Rich!
OK - from my reading I thought tun was more common, but happy to be wrong.
Cheers,
Paul
I wouldn't worry about 'tap' vs 'tun'. Win uses 'tap', so it's going to be supported by commercial providers if they want any customers. Writing a new device driver for 'tun' is a tall order and best avoided if possible.
OK - from my reading I thought tun was more common, but happy to be wrong.
I suspect that this warning is the cause for the misconfiguration:I forgot to run a diff last night, but the netlabs build source (based on Pasha's original source on hobbes for 2.0.x) is at http://trac.netlabs.org/ports/browser/openvpn/trunk
> WARNING: 'dev-type' is used inconsistently, local='dev-type tap', remote='dev-type tun'
My _guess_ is that there's some code or flag in the Win version that tells the server to use 'tap' during the initial connection setup - code that's being bypassed because Win32 isn't #defined.
If you'd care to share a diff of your changes, I'd be happy to pull the source and start looking.
Cheers,
Paul