Thatâs it! We can now enjoy our vpn using the following command. Weâll need to do this changes in all the /etc/openvpn/nf per country cyberghost configurations (if we have more than one configuration).Īnd before the certificate tag we add the lines to update the DNS in this same file.Weâve got all the files, now letâs edit our /etc/openvpn/nf to update DNS with our update-resolv script and to get the user.txt credentials. We put it in /etc/openvpn/update-resolv-conf.sh and make it executable chmod +x /etc/openvpn/update-resolv-conf.sh. The second file, we get the script to update-resolv (DNS) every time we open/close the VPN connection, you can get it from this gist linked from the ArchWiki. We need two more files, we create an /etc/openvpn/user.txt and we add our Cyberghost credentials (user, password) in different lines, like this. Move the file Cyberghost.opvn to /etc/openvpn and rename it to nf (you can name it whatever you want, I have it this way to switch between countries, vpn- country-code). Then you go below and save the configuration, download the Cyberghost.opvn file. ![]() We go to the cyberghost website, logged in, My Devices. To get the VPN working on Arch, you install OpenVPN. Note: You can just use the Network Manager in GNOME/KDE and others, use this tutorial if you want to configure it via the command line. They have some free proxies if you want to test the service first, but they will probably go much slower. I chose Cyberghost because they are in Europe (Romania), because they donât keep any logs and I like what they stand for. ![]() I use Cyberghost, but you can see in this extense article which one to choose if youâre interested. Last week I started using a VPN, You can read in this lifehacker article on why you could use one.įor me Itâs more a matter of security and freedom too, the other reasons are secondary.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |