Page 1 of 1

Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Fri May 11, 2012 2:45 am
by dfox
I have a Vista OpenVPN server working, and my Vista client can connect ok (though not 100% sure routing is working yet)

However, my Windows 7 (64-bit) client GUI doesn't even give me the option to 'Connect' when I right-click.

I've tried:
  • different rc's of 2.2
  • different rc's of 2.1
  • a beta or two of 2.1
  • running install and the gui as admin
  • running install and the gui as admin in addition to vista sp1 compat
  • many, other permutations
server LAN is 192.168.1.0/24
openvpn LAN is 10.8.0.0/24

Is there some known compat issue with Windows 7/64-bit? If anyone wants to look at configs, they are as follows, but they're basically sample configs with IP addresses and named keys. I think the 'push route' command will allow clients to ping 192.168.1.101 and other nodes on the server LAN (that's the goal, anyway)

*0.0.0.0 in client config is the public IP of server LAN and common names are server and client1.

Server config

Code: Select all

;local a.b.c.d
port 1194
;proto tcp
proto udp
;dev tap
dev tun
;dev-node MyTap
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh4096.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;server-bridge
push "route 192.168.1.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
;learn-address ./script
;push "redirect-gateway def1 bypass-dhcp"
;push "dhcp-option DNS 208.67.222.222"
;push "dhcp-option DNS 208.67.220.220"
client-to-client
;duplicate-cn
keepalive 10 120
;tls-auth ta.key 0 # This file is secret
;cipher BF-CBC        # Blowfish (default)
;cipher AES-128-CBC   # AES
;cipher DES-EDE3-CBC  # Triple-DES
comp-lzo
;max-clients 100
;user nobody
;group nobody
persist-key
persist-tun
status openvpn-status.log
;log         openvpn.log
;log-append  openvpn.log
verb 3
;mute 20
Client config

Code: Select all

client
;dev tap
dev tun
;dev-node MyTap
;proto tcp
proto udp
remote 0.0.0.0 1194
;remote my-server-2 1194
;remote-random
resolv-retry infinite
nobind
;user nobody
;group nobody
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca ca.crt
cert client1.crt
key client1.key
;ns-cert-type server
;tls-auth ta.key 1
;cipher x
comp-lzo
verb 3
;mute 20

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Fri May 11, 2012 9:39 am
by maikcat
hi there,

are you aware of the virtual store "feature" of win 7?

Michael.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Fri May 11, 2012 1:34 pm
by dfox
No, but I started searching around for it and it looks I might be onto something. If I take ownership of the whole OpenVPN directory, I now see the standard set of options on the right-click context menu.

Thanks, and I'll keep you posted on testing since I might still have some routing issues. I need to be able to use Remote Desktop on 192.168.1.101 and other nodes on the same /24 subnet.

Should the push "route 192.168.1.0 255.255.255.0" and client-to-client commands take care of that?

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Fri May 11, 2012 1:39 pm
by maikcat
both directives should be places on server side,

the push route directive yes,
client-to-client is for clients to be able to access each other.

Michael.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Fri May 11, 2012 6:34 pm
by dfox
I'm having a similar installation problem on Server 2008 R2 (64-bit)

I tried taking ownership (Administrator) of the whole OpenVPN directory as on the Windows 7 box, but I never see the 'Connect' option on the GUI icon context menu.

Do I need to know more about virtual store? Thanks in advance!

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Sat May 12, 2012 2:22 pm
by maikcat
sadly i have not much expierence using windows 2008...

maybe another member can help you out.

regards,

Michael.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Mon May 14, 2012 10:31 pm
by dfox
I have another Windows 7 (64-bit) box that is having the same problem of a partial right-click context menu. Taking ownership doesn't solve the problem either. I tried disabled UAC altogether and the same results. The only difference is Ultimate (works) vs Professional (doesn't work)

Is there something more to do with virtual store?

Thanks in advance!

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Tue May 15, 2012 7:28 am
by Mimiko
Try solution explaoined in this topic: topic8314-15.html

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Tue May 15, 2012 12:08 pm
by dfox
I'll give the balloon tip registry key a try, but it sounds like the OP doesn't see any context menu at all. When I right-click the GUI icon, I see the options:
  • Proxy Settings
  • About
  • Exit
(but no 'Connect')

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Wed May 16, 2012 1:42 pm
by dfox
The EnableBalloonTips key didn't exist. I created it, set it to 2, and still no luck.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Thu May 17, 2012 5:07 am
by Mimiko
Browse to c:\Program Files\OpenVPN\config, or where OpenVPN is installed and cd to config file. There must exists at least one config file for the client with *.ovpn extension. "ovpn" extension is a must, as other extensions are not recognized.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Thu May 17, 2012 7:15 pm
by dfox
The config file is definitely named client1.ovpn.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Fri May 18, 2012 5:12 am
by Mimiko
dfox, please check and recheck the file name and extension. In windows extension is hidden by default so it might have another extension. Also check the content of the file. It must have a valid configuration for client.

Did you installed OpenVPN too? Installing only GUI will not get you anywhere.

Re: Windows 7 64-bit OpenVPN GUI has no 'Connect' option

Posted: Thu Dec 11, 2014 9:00 am
by htoulan
I had the same problem on Windows7 64 bits
I solved it by renaming my configuration file from xxxx.ovpn.txt to xxx.ovpn, it worked immediately.