Is it possible to connect to an openvpn server using a username and password. I read that you need a config file on ubuntu, but I don't have a config file.
How can I connect to my openvpn server using credentials?
|
Is it possible to connect to an openvpn server using a username and password. I read that you need a config file on ubuntu, but I don't have a config file. How can I connect to my openvpn server using credentials? |
|||
|
|
|
Yes it's possible. To do this, you have already an OpenVPN server installed, and the user created in the server. The easiest openvpn client is network-manager. If you are using Ubuntu run:
Now click on the network-manager applet, select configure VPN, and setup a new open-vpn connection. Set the gateway to you server Set the type to Password Point your CA to a copy of your server’s ca.crt and everything should just work Attached is a simple client configuration file that will work. Edit it to match your server’s settings where appropriate. You will need this and your ca.crt in the same directory. On linux my file is called /etc/openvpn/client.conf
That's it. |
|||
|
|
|
Check this official Ubuntu documentation for Openvpn Also, you may wish to check the openvpn official tutorial. |
||||
|
|
|
I think you can enable TLS authentication that is better authentication in addition to username and password:
Enable in config file in both server and client
http://spidersoft.in - Download Free software and drivers |
||||
|
|