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

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
andyc22
OpenVpn Newbie
Posts: 2
Joined: Mon May 13, 2013 9:50 pm

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

Post by andyc22 » Mon May 13, 2013 10:04 pm

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!

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

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

Post by janjust » Tue May 14, 2013 1:25 pm

try adding

Code: Select all

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

andyc22
OpenVpn Newbie
Posts: 2
Joined: Mon May 13, 2013 9:50 pm

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

Post by andyc22 » Tue May 14, 2013 1:41 pm

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!

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

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

Post by janjust » Tue May 14, 2013 1:43 pm

you can also try playing with

Code: Select all

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

Post Reply