How to setup VPN using an .ovpn file? [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
5
down vote
favorite
This question already has an answer here:
How to setup OpenVPN Client
5 answers
I've been using Ubuntu 18.04 for about 3 days now and so far it runs smoothly. I now need to install a VPN for my work, and I got the following files from the sysadmin:
- ca.crt
- VPNConfig.ovpn
I first ran sudo apt install openvpn
. After that I wanted to install it using the GUI. So I went to the settings app and under "Network" I tried adding a new VPN. It gives the option to "Import from a file". So I selected the VPNConfig.ovpn
file, but it says it can't import the file. I also tried importing the ca.crt
file and importing the zip in which the two files came, but that didn't work either.
Could anybody help me out as to how I can make this VPN work?
networking network-manager vpn openvpn system-settings
marked as duplicate by karel, Eric Carvalho, waltinator, David Foerster, Elder Geek Mar 18 at 21:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
5
down vote
favorite
This question already has an answer here:
How to setup OpenVPN Client
5 answers
I've been using Ubuntu 18.04 for about 3 days now and so far it runs smoothly. I now need to install a VPN for my work, and I got the following files from the sysadmin:
- ca.crt
- VPNConfig.ovpn
I first ran sudo apt install openvpn
. After that I wanted to install it using the GUI. So I went to the settings app and under "Network" I tried adding a new VPN. It gives the option to "Import from a file". So I selected the VPNConfig.ovpn
file, but it says it can't import the file. I also tried importing the ca.crt
file and importing the zip in which the two files came, but that didn't work either.
Could anybody help me out as to how I can make this VPN work?
networking network-manager vpn openvpn system-settings
marked as duplicate by karel, Eric Carvalho, waltinator, David Foerster, Elder Geek Mar 18 at 21:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
All you have to run isopenvpn --config openvpn_profile_here
â NerdOfCode
Mar 13 at 17:49
2
OP states that they want to use the GUI
â NerdOfLinux
Mar 13 at 17:50
I found that one can import a*.ovpn
file into the GUI usingsudo nmcli connection import type openvpn file /path/to/foo.ovpn
. Couldn't post an answer here, but see my answer to 'How to setup OpenVPN Client' for more details.
â HenrikB
Sep 1 at 4:25
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
This question already has an answer here:
How to setup OpenVPN Client
5 answers
I've been using Ubuntu 18.04 for about 3 days now and so far it runs smoothly. I now need to install a VPN for my work, and I got the following files from the sysadmin:
- ca.crt
- VPNConfig.ovpn
I first ran sudo apt install openvpn
. After that I wanted to install it using the GUI. So I went to the settings app and under "Network" I tried adding a new VPN. It gives the option to "Import from a file". So I selected the VPNConfig.ovpn
file, but it says it can't import the file. I also tried importing the ca.crt
file and importing the zip in which the two files came, but that didn't work either.
Could anybody help me out as to how I can make this VPN work?
networking network-manager vpn openvpn system-settings
This question already has an answer here:
How to setup OpenVPN Client
5 answers
I've been using Ubuntu 18.04 for about 3 days now and so far it runs smoothly. I now need to install a VPN for my work, and I got the following files from the sysadmin:
- ca.crt
- VPNConfig.ovpn
I first ran sudo apt install openvpn
. After that I wanted to install it using the GUI. So I went to the settings app and under "Network" I tried adding a new VPN. It gives the option to "Import from a file". So I selected the VPNConfig.ovpn
file, but it says it can't import the file. I also tried importing the ca.crt
file and importing the zip in which the two files came, but that didn't work either.
Could anybody help me out as to how I can make this VPN work?
This question already has an answer here:
How to setup OpenVPN Client
5 answers
networking network-manager vpn openvpn system-settings
networking network-manager vpn openvpn system-settings
asked Mar 13 at 17:41
kramer65
76231429
76231429
marked as duplicate by karel, Eric Carvalho, waltinator, David Foerster, Elder Geek Mar 18 at 21:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by karel, Eric Carvalho, waltinator, David Foerster, Elder Geek Mar 18 at 21:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
All you have to run isopenvpn --config openvpn_profile_here
â NerdOfCode
Mar 13 at 17:49
2
OP states that they want to use the GUI
â NerdOfLinux
Mar 13 at 17:50
I found that one can import a*.ovpn
file into the GUI usingsudo nmcli connection import type openvpn file /path/to/foo.ovpn
. Couldn't post an answer here, but see my answer to 'How to setup OpenVPN Client' for more details.
â HenrikB
Sep 1 at 4:25
add a comment |Â
1
All you have to run isopenvpn --config openvpn_profile_here
â NerdOfCode
Mar 13 at 17:49
2
OP states that they want to use the GUI
â NerdOfLinux
Mar 13 at 17:50
I found that one can import a*.ovpn
file into the GUI usingsudo nmcli connection import type openvpn file /path/to/foo.ovpn
. Couldn't post an answer here, but see my answer to 'How to setup OpenVPN Client' for more details.
â HenrikB
Sep 1 at 4:25
1
1
All you have to run is
openvpn --config openvpn_profile_here
â NerdOfCode
Mar 13 at 17:49
All you have to run is
openvpn --config openvpn_profile_here
â NerdOfCode
Mar 13 at 17:49
2
2
OP states that they want to use the GUI
â NerdOfLinux
Mar 13 at 17:50
OP states that they want to use the GUI
â NerdOfLinux
Mar 13 at 17:50
I found that one can import a
*.ovpn
file into the GUI using sudo nmcli connection import type openvpn file /path/to/foo.ovpn
. Couldn't post an answer here, but see my answer to 'How to setup OpenVPN Client' for more details.â HenrikB
Sep 1 at 4:25
I found that one can import a
*.ovpn
file into the GUI using sudo nmcli connection import type openvpn file /path/to/foo.ovpn
. Couldn't post an answer here, but see my answer to 'How to setup OpenVPN Client' for more details.â HenrikB
Sep 1 at 4:25
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
5
down vote
accepted
You have to install a few packages first with:
sudo apt install openvpn network-manager-openvpn network-manager-openvpn-gnome
then, restart network-manager
sudo service network-manager restart
and try again. If it doesn't work, then try logging out and back in, if not, then try rebooting.
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
add a comment |Â
up vote
0
down vote
I've had trouble importing .ovpn files as well. It seems to work on some machines and not others. However, it is not difficult to set up the connection using Network Manager. Many critical settings are only accessed after you click on the "Advanced" button, perhaps you didn't look there.
Example
<general tab>
Tick "all users may connect to this network"
<VPN tab>
Set connection name
Set server name in Gateway box
Set type to Certificates (TLS)
Import user certificate XXX.crt
Import ca certificate YYY.crt
Import private key ZZZ.key
<advanced button>
Tick use LZO data compression
Tick set virtual device type, TUN name tun
If you have other settings look through the tabs to find them.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
You have to install a few packages first with:
sudo apt install openvpn network-manager-openvpn network-manager-openvpn-gnome
then, restart network-manager
sudo service network-manager restart
and try again. If it doesn't work, then try logging out and back in, if not, then try rebooting.
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
add a comment |Â
up vote
5
down vote
accepted
You have to install a few packages first with:
sudo apt install openvpn network-manager-openvpn network-manager-openvpn-gnome
then, restart network-manager
sudo service network-manager restart
and try again. If it doesn't work, then try logging out and back in, if not, then try rebooting.
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
You have to install a few packages first with:
sudo apt install openvpn network-manager-openvpn network-manager-openvpn-gnome
then, restart network-manager
sudo service network-manager restart
and try again. If it doesn't work, then try logging out and back in, if not, then try rebooting.
You have to install a few packages first with:
sudo apt install openvpn network-manager-openvpn network-manager-openvpn-gnome
then, restart network-manager
sudo service network-manager restart
and try again. If it doesn't work, then try logging out and back in, if not, then try rebooting.
answered Mar 13 at 17:49
NerdOfLinux
1,509831
1,509831
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
add a comment |Â
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
Thanks! You made my day! Just a question: why is pptp supported by default, but does openvpn support need to be installed seperately?
â kramer65
Mar 14 at 7:27
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
I don't know. I guess the Ubuntu team decided that not enough people use it to make it worth being part of the standard OS.
â NerdOfLinux
Mar 14 at 19:50
add a comment |Â
up vote
0
down vote
I've had trouble importing .ovpn files as well. It seems to work on some machines and not others. However, it is not difficult to set up the connection using Network Manager. Many critical settings are only accessed after you click on the "Advanced" button, perhaps you didn't look there.
Example
<general tab>
Tick "all users may connect to this network"
<VPN tab>
Set connection name
Set server name in Gateway box
Set type to Certificates (TLS)
Import user certificate XXX.crt
Import ca certificate YYY.crt
Import private key ZZZ.key
<advanced button>
Tick use LZO data compression
Tick set virtual device type, TUN name tun
If you have other settings look through the tabs to find them.
add a comment |Â
up vote
0
down vote
I've had trouble importing .ovpn files as well. It seems to work on some machines and not others. However, it is not difficult to set up the connection using Network Manager. Many critical settings are only accessed after you click on the "Advanced" button, perhaps you didn't look there.
Example
<general tab>
Tick "all users may connect to this network"
<VPN tab>
Set connection name
Set server name in Gateway box
Set type to Certificates (TLS)
Import user certificate XXX.crt
Import ca certificate YYY.crt
Import private key ZZZ.key
<advanced button>
Tick use LZO data compression
Tick set virtual device type, TUN name tun
If you have other settings look through the tabs to find them.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I've had trouble importing .ovpn files as well. It seems to work on some machines and not others. However, it is not difficult to set up the connection using Network Manager. Many critical settings are only accessed after you click on the "Advanced" button, perhaps you didn't look there.
Example
<general tab>
Tick "all users may connect to this network"
<VPN tab>
Set connection name
Set server name in Gateway box
Set type to Certificates (TLS)
Import user certificate XXX.crt
Import ca certificate YYY.crt
Import private key ZZZ.key
<advanced button>
Tick use LZO data compression
Tick set virtual device type, TUN name tun
If you have other settings look through the tabs to find them.
I've had trouble importing .ovpn files as well. It seems to work on some machines and not others. However, it is not difficult to set up the connection using Network Manager. Many critical settings are only accessed after you click on the "Advanced" button, perhaps you didn't look there.
Example
<general tab>
Tick "all users may connect to this network"
<VPN tab>
Set connection name
Set server name in Gateway box
Set type to Certificates (TLS)
Import user certificate XXX.crt
Import ca certificate YYY.crt
Import private key ZZZ.key
<advanced button>
Tick use LZO data compression
Tick set virtual device type, TUN name tun
If you have other settings look through the tabs to find them.
answered Mar 13 at 18:04
![](https://i.stack.imgur.com/DbsU5.jpg?s=32&g=1)
![](https://i.stack.imgur.com/DbsU5.jpg?s=32&g=1)
Organic Marble
9,92563255
9,92563255
add a comment |Â
add a comment |Â
1
All you have to run is
openvpn --config openvpn_profile_here
â NerdOfCode
Mar 13 at 17:49
2
OP states that they want to use the GUI
â NerdOfLinux
Mar 13 at 17:50
I found that one can import a
*.ovpn
file into the GUI usingsudo nmcli connection import type openvpn file /path/to/foo.ovpn
. Couldn't post an answer here, but see my answer to 'How to setup OpenVPN Client' for more details.â HenrikB
Sep 1 at 4:25