tushar.sharma
Hello All,
I want to establish multiple tunnel i.e to run multiple client on single pc to connect to multiple
server.
Is it possible to run multiple client using single configuration file such that all client connect to
different server using single daemon only. ??
i can establish using multiple daemon say openvpn --config client1.ovpn
openvpn --config client2.ovpn
Thanking You,
Tushar
Mimiko
Put all the *.ovpn files for each connection under the config/ folder and run openvpn without --config parameter.
tushar.sharma
Thank You for reply Mimiko
But suppose two clients are running already,
now i want to run third client i need to again fire openvpn command,
so that will result into two daemon ?
Tushar
Mimiko
You will have to restart OpenVPN daemon. When OpenVPN is started, the main thread reads any ovpn file it finds and start a different child processes for every ovpn file.
tushar.sharma
But will not disturb ongoing connection i mean already established other connectionss ?
and can i use same port in all client connections running on same machine ?
Thanking You
Tushar
Mimiko
You can start openvpn manually with desired ovpn file. And a scheduled restart of the server to autostart all ovpn servers.
You can use same port on client connections as long as the clients connect to different servers.
tushar.sharma
Dear Mimiko,
I got solution through openvpn channel on irc.
Thanks a lot for help
Thanking You,
Tushar