Page 1 of 1

OpenVPN client on a Win8 VM running on Fusion 5, OS X 10.8

Posted: Mon May 13, 2013 10:04 pm
by andyc22
OpenVPN client on a Win8 VM running on Fusion 5, OS X 10.8
Sometimes the client connects, and sometimes works for a few minutes, but it's unusable otherwise. Usually I get the dreaded waiting for tun/tap interface to come up message.
I'm a developer, and not a network expert (just a novice). The VM is NAT'ed to the host (OS X). My current config...

client
proto udp
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
ns-cert-type server
tls-auth xxxxxx.key 1
ca xxxxxx.crt
remote xxxxxx.com 1194
cert monica.crt
key monica.key
route-method exe
keepalive 10 20
route-delay 30 30
float


Any suggestions or help would be hugely appreciated. I posted a job on freelancer but got no sensible offers of help.
Thanks!

Re: OpenVPN client on a Win8 VM running on Fusion 5, OS X 10

Posted: Tue May 14, 2013 1:25 pm
by janjust
try adding

Code: Select all

tap-sleep 10
to see if that helps.
Running OpenVPN in a win8 VM is always tricky, however.

Re: OpenVPN client on a Win8 VM running on Fusion 5, OS X 10

Posted: Tue May 14, 2013 1:41 pm
by andyc22
Many thanks for the suggestion... I now see a Sleeping for 10 seconds... after the Notified TAP-Windows driver... message. However, the familiar waiting for tun/tap interface to come up... message/error continues :(
I've ordered your cookbook...
Any more suggestions?
Thanks!

Re: OpenVPN client on a Win8 VM running on Fusion 5, OS X 10

Posted: Tue May 14, 2013 1:43 pm
by janjust
you can also try playing with

Code: Select all

up-delay
route-delay N W
(see the man page for details)