OpenVPN client setup on Fedora
First, setup an OpenVPN server as I describe in another article.
Install OpenVPN on the client with `dnf install openvpn`
Make a client key for new Fedora client on the server as I describe in the server article.
Lets assume its called client4.
Copy the contents of folder /etc/openvpn/client4 on the server to /etc/openvpn/client on the client.
In /etc/openvpn/client rename client4.ovpn to client.conf
Enable and start the service:
systemctl enable openvpn-client@client
systemctl start openvpn-client@client
If you get no errors, the service is running.
Some things to test it:
lynx http://google.com Ensures you have internet access
ifconfig Interface 'tun0' should show a non-zero number of packets RX/TX
traceroute yahoo.com Should show the first hop is to the VPN server
cat /etc/openvpn/server/openvpn-status.log on the server should show client4