This tutorial explains how to set up OpenVPN on Fedora Linux. Follow step-by-step to set up a Linux Fedora VPN using the Terminal/ command line.
Step 1: Download the OpenVPN configuration files (ovpn files) which will be provided by your VPN service provider. Unzip those files in case they are in a zip folder.
Step 2: Now open the terminal and access the "Downloads" folder or the directory where you saved the downloaded config files as given below.
Step 3: Now list the folder items by entering ls so you can view all the available VPN server files if there are multiple.
Step 4: Then run the OpenVPN command and select your desired VPN server which you want to connect to.
For that, type in: sudo openvpn (your desired VPN server name)
For example I entered sudo openvpn australia-tcp.ovpn. Here you'll replace "australia-tcp.ovpn" with your OpenVPN config file name.
Step 5: It will ask for your sudo password first. Enter it and then it will ask for your VPN username and password respectively. Enter the username and then password provided by your VPN service provider
Step 6: Once the "Initialization Sequence Completed" appears, that means your OpenVPN on Fedora using the terminal command line has been connected.
When you need to disconnect VPN on Fedora, press Ctrl+C in the terminal
By following the steps given above, you can set up a Linux Fedora VPN using the OpenVPN protocol through the terminal/command line. Besides, if you're looking for additional support or have any questions related to setting up the OpenVPN on Fedora Linux, please Contact us for your questions, queries, feedback, or suggestions.