Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys,
I have OpenVPN key with the following format .opvn. I have no idea where to copy it. If it is window this(C:\Program Files\OpenVPN\config\ ) will be the location. But when it comes to Linux I am empty.
Most tasks are easiest to complete from a command line. If you are in a graphical environment, where you can open a web browser, etc., then open a terminal, like xterm, which you'll be able to find on the menu of applications. Open up a terminal application, and you are at the command line interface. If you are not in a graphical environment, then you are already at a command line interface.
Linux has manuals for most of the commands and applications on your system. Two good commands are "man" and "which". Typing "man" followed by a package name or command brings up the manual for that command. So, in your case, you'll want to type "man openvpn" and then hit enter. If openvpn is installed on your system, then it's manual page of instructions will come up. "which" tells you the path to where the executable binary command for a package is installed, and it's a quick way to see if something is installed as well. "which openvpn" returns "/usr/sbin/openvpn" on my slackware system.
If "which openvpn" says not found, then you will need to install openvpn, according to how the specific distribution of linux you are on installs packages.
Last edited by slac-in-the-box; 01-08-2019 at 02:54 PM.
Reason: correct spelling
I have installed VPN on my machine. I have been provided a key to access the server. The key name is something like this vpn.david.avalia.no.ovpn. I dont know where to add this key and get access to the server.
Since different distributions of linux have their own ways of management, including which distro you are using will help; it's so relevant, that you can set it in the details of your LQ account profile. On my slackware system, the config file is in /etc/openvpn/ Other distros might install it somewhere else. You probably need to edit the config file and tell it the location of your key; you'll need to make sure that openvpn starts at boot.
Totally depends on which distribution and desktop environment you are using. (Or maybe you are running a server with no desktop environment?)
I personally use Fedora 29 with Gnome desktop. I can load a .opvn file with a few mouse clicks, from the Network Manager dropdown at the top right of the screen. It's really easy.
Totally depends on which distribution and desktop environment you are using. (Or maybe you are running a server with no desktop environment?)
I personally use Fedora 29 with Gnome desktop. I can load a .opvn file with a few mouse clicks, from the Network Manager dropdown at the top right of the screen. It's really easy.
If you use Ubuntu the easiest way to use it is just create a VPN configuration in NetworkManager so it's literally a click to start or stop it. One of the NetworkManager options is literally "import VPN configuration from file".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.