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

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Fri May 11, 2012 2:45 am

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

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

Post by maikcat » Fri May 11, 2012 9:39 am

hi there,

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

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Fri May 11, 2012 1:34 pm

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?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

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

Post by maikcat » Fri May 11, 2012 1:39 pm

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Fri May 11, 2012 6:34 pm

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!

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

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

Post by maikcat » Sat May 12, 2012 2:22 pm

sadly i have not much expierence using windows 2008...

maybe another member can help you out.

regards,

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Mon May 14, 2012 10:31 pm

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!

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

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

Post by Mimiko » Tue May 15, 2012 7:28 am

Try solution explaoined in this topic: topic8314-15.html

dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Tue May 15, 2012 12:08 pm

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')

dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Wed May 16, 2012 1:42 pm

The EnableBalloonTips key didn't exist. I created it, set it to 2, and still no luck.

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

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

Post by Mimiko » Thu May 17, 2012 5:07 am

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.

dfox
OpenVpn Newbie
Posts: 10
Joined: Fri May 11, 2012 2:29 am

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

Post by dfox » Thu May 17, 2012 7:15 pm

The config file is definitely named client1.ovpn.

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

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

Post by Mimiko » Fri May 18, 2012 5:12 am

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.

htoulan
OpenVpn Newbie
Posts: 1
Joined: Thu Dec 11, 2014 8:58 am

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

Post by htoulan » Thu Dec 11, 2014 9:00 am

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.

Post Reply