Difference between revisions of "OpenVPN"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
Port [[1194]] is the official IANA assigned port number for OpenVPN
 
Port [[1194]] is the official IANA assigned port number for OpenVPN
  
* Installation: <code>apt install openvpn</code>  
+
* Installation: <code>[[apt install openvpn]]</code>  
 
* Configuration: <code>[[/etc/openvpn/server.conf]]</code>
 
* Configuration: <code>[[/etc/openvpn/server.conf]]</code>
 
* Logs: <code>[[/var/log/openvpn.log]]</code>
 
* Logs: <code>[[/var/log/openvpn.log]]</code>

Revision as of 13:50, 30 March 2022

wikipedia:OpenVPN (2001) is a virtual private network (VPN) system to create secure point-to-point or site-to-site connections in and remote access.

OpenVPN uses a custom security protocol that utilizes SSL/TLS for key exchange.

Port 1194 is the official IANA assigned port number for OpenVPN

.ovpn file



Basic Commands

Ubuntu Linux 16.04/18.04 LTS

  • Stop the OpenVPN service:
$ sudo systemctl stop openvpn@server
(No output)
  • Start the OpenVPN service:
$ sudo systemctl start openvpn@server
  • Restart the OpenVPN service:
$ sudo systemctl restart openvpn@server


$ sudo systemctl status openvpn@server

Ubuntu Linux 14.04 LTS

  • Stop the OpenVPN service:
$ sudo /etc/init.d/openvpn stop
  • Start the OpenVPN service:
$ sudo /etc/init.d/openvpn start
  • Restart the OpenVPN service:
$ sudo /etc/init.d/openvpn restart

Activities

Related

See also

Advertising: