|
Question : openVPN multiple clients
|
|
hi i have five small servers and i would like to access these servers via my computer.
like most people who have used openVPN, i have been able to setup a VPN tunnel using sample.ovpn, with basic key and with more secure certificates. My computer is the openVPN server and small server (1) is the openVPN client.
I have done all the port forwarding necessary for all connections to be made to my computer (openVPN server).
The computer is assigned a ip of 10.3.0.4 and the small server (1) 10.3.0.5. it works great.
the openVPN server computer updates its DNS address and the small server will look for that DNS address to make the connection.
i can now connect the small server (1) anywhere that has a internet connection and a vpn connection is made, which is exactly what i need as the small servers will be mobile and i willl need to update the information from my computer.
now i want to connect another small server (2) and assign it 10.3.0.6 and the next server (3) 10.3.0.7 and so on.
but heres where i am having trouble i would like to connect to them simultaneously. instead of having five openVPN server config files that i need to connect to separately. i need 1 openVPN server config file that all the small servers connet to and the small servers have there own virtual static ip's 10.3.0.5, 10.3.0.6, 10.3.0.7, 10.3.0.8, 10.3.0.9.
thanks
kajal
|
Answer : openVPN multiple clients
|
|
Right I have done you some pre-set config files to go into C:\Program Files\OpenVPN\config folder.
Obviously you don't want to use these for any length of time, but should be OK for testing. In the zip you will finder a server folder containing the files for the server config folder, this shouldn't need any changes just copy the files over.
In the client folder you will find client 1 to 6, these are to use on each client. In the client.ovpn file you need to change the line
remote my-server-1 1194
to include the IP address or domain name of the VPN server, example
remote 192.168.0.3 1194
The zip folder with the files can be downloaded from here http://www.tech24.co.uk/download/openvpndemo.zip
|
|
|
|