Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set up two different OpenVPN servers, one in the US and one in London. I connect to them from home using Windows 7, and the software I use is the basic OpenVPN client.

Now the problem I have is that the client only has 1 single config directory, so when I put the files for my London server I can only connect to that one. To connect to the server in the US I have to switch files.

I do not have the option to use the client for the OpenVPN Access Server. I have set up the OpenVPN installation manually. The client from OpenVPN AS does not connect.

Anyone know of a OpenVPN client that handles seperate connections to different servers.

share|improve this question
    
If you want to connect to several at the same time you will need to create some additional TAP devices. –  Zoredache Sep 27 '10 at 16:50

1 Answer 1

up vote 1 down vote accepted

The regular OpenVPN client has syntax

openvpn [server config file] 

So nothing stopping you from having two shortcuts, one for

openvpn LondonIPorFQDN London.ovpn

and

openvpn USIPorFQDN US.ovpn
share|improve this answer
    
Ok yeah this had to be possible. But where do I specify openvpn [server config file]. Is this in the windows shortcut? And do I just store all the files for all the servers in the config file. There are some duplicate files. –  Saif Bechan Sep 27 '10 at 15:47
    
Yes, the windows shortcut, test with command line. Location of files is at your disposal; you really need to read the documentation for OpenVPN and understand the purpose (and security) of each key file and config file, especially if you are designing the VPN. –  Unreason Sep 27 '10 at 15:54
1  
In fact, if you use the Windows client, and you have multiple config files in the config directory, it will show them as separate connection options when you right click on the tray icon. –  wolfgangsz Sep 27 '10 at 16:50
    
it is much tidier to have only the ovpn files in the config directory and place the ca.crt and key files in subdirectory, one for each vpn the set the details in the ovpn to the directories –  vfclists May 18 '12 at 7:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.