📅  最后修改于: 2022-03-11 14:49:41.899000             🧑  作者: Mango
# Copy the configuration file to /etc/openvpn/ and rename it to client.conf
cp example.ovpn /etc/openvpn/client.conf
# Enable the autostart of the OpenVPN service:
sudo systemctl enable openvpn@client.service
# Start the client:
sudo service openvpn@client start
# At this point all you need to do is wait a few seconds for the connection
# to complete. To check the status of the connection, use this command
sudo service openvpn@client status