OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

1.6.2.3. Client Configuration


First, install openvpn on the client:


sudo apt install openvpn


Then with the server configured and the client certificates copied to the /etc/openvpn/ directory, create a client configuration file by copying the example. In a terminal on the client machine enter:


sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/openvpn


Now edit /etc/openvpn/client.conf changing the following options:


dev tap

;dev tun ca ca.crt

cert client1.crt key client1.key


Finally, restart openvpn:


sudo systemctl restart openvpn@client


You should now be able to connect to the remote LAN through the VPN.


Top OS Cloud Computing at OnWorks: