Difference between revisions of "OpenVPN"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(29 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[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]]. | |
− | [[wikipedia:OpenVPN]] (2001) | ||
OpenVPN uses a custom security protocol that utilizes SSL/[[TLS]] for [[key exchange]]. | OpenVPN uses a custom security protocol that utilizes SSL/[[TLS]] for [[key exchange]]. | ||
− | 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> | ||
+ | * Configuration: <code>[[/etc/openvpn/server.conf]]</code> | ||
+ | * Logs: <code>[[/var/log/openvpn.log]]</code> | ||
+ | * Package: <code>openvpn</code> package contains <code>openvpn</code> binary | ||
− | <code>.ovpn</code> file | + | <code>[[.ovpn]]</code> file |
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Basic Commands== | ||
+ | ===Ubuntu Linux 16.04/18.04 LTS=== | ||
+ | *Stop the OpenVPN service: | ||
+ | ::<code>$ sudo [[systemctl stop openvpn@server]]</code> | ||
+ | ::<code>(No output)</code> | ||
+ | |||
+ | *Start the OpenVPN service: | ||
+ | ::<code>$ sudo systemctl start openvpn@server</code> | ||
+ | |||
+ | *Restart the OpenVPN service: | ||
+ | ::<code>$ sudo [[systemctl restart openvpn@server]]</code> | ||
+ | |||
+ | |||
+ | ::<code>$ sudo [[systemctl status openvpn@server]]</code> | ||
+ | |||
+ | ===Ubuntu Linux 14.04 LTS=== | ||
+ | *Stop the OpenVPN service: | ||
+ | ::<code>$ sudo /etc/init.d/openvpn stop</code> | ||
+ | |||
+ | *Start the OpenVPN service: | ||
+ | ::<code>$ sudo /etc/init.d/openvpn start</code> | ||
+ | |||
+ | *Restart the OpenVPN service: | ||
+ | ::<code>$ sudo /etc/init.d/openvpn restart</code> | ||
== Activities == | == Activities == | ||
* Follow https://www.cyberciti.biz/faq/howto-setup-openvpn-server-on-ubuntu-linux-14-04-or-16-04-lts/ installation guide | * Follow https://www.cyberciti.biz/faq/howto-setup-openvpn-server-on-ubuntu-linux-14-04-or-16-04-lts/ installation guide | ||
− | * Verify status of your OpenVPN server: <code>[[systemctl status | + | * Verify status of your OpenVPN server: <code>[[systemctl status openvpn-server@server]]</code> |
− | + | * <code>[[killall]] -[[USR2]] openvpn</code> | |
+ | * Read https://wiki.archlinux.org/title/OpenVPN | ||
+ | * Read StackOverflow: https://serverfault.com/questions/tagged/openvpn?tab=Votes | ||
+ | == Related == | ||
+ | * [[OpenVPN Connect]] | ||
+ | * [[Mbed TLS]] | ||
+ | * [[AWS VPN Client]] | ||
+ | * [[pritunl]] | ||
+ | * [[Ethereum ports]] | ||
== See also == | == See also == | ||
+ | * {{OpenVPN}} | ||
* {{VPN}} | * {{VPN}} | ||
− | |||
− | |||
[[Category:Networking]] | [[Category:Networking]] | ||
[[Category:IT security]] | [[Category:IT security]] | ||
+ | [[Category:Tunneling protocols]] |
Latest revision as of 20:28, 28 May 2023
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
- Installation:
apt install openvpn
- Configuration:
/etc/openvpn/server.conf
- Logs:
/var/log/openvpn.log
- Package:
openvpn
package containsopenvpn
binary
.ovpn
file
Contents
Basic Commands[edit]
Ubuntu Linux 16.04/18.04 LTS[edit]
- Stop the OpenVPN service:
$ sudo systemctl stop openvpn@server
(No output)
- Start the OpenVPN service:
$ sudo systemctl start openvpn@server
- Restart the OpenVPN service:
Ubuntu Linux 14.04 LTS[edit]
- 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[edit]
- Follow https://www.cyberciti.biz/faq/howto-setup-openvpn-server-on-ubuntu-linux-14-04-or-16-04-lts/ installation guide
- Verify status of your OpenVPN server:
systemctl status openvpn-server@server
killall -USR2 openvpn
- Read https://wiki.archlinux.org/title/OpenVPN
- Read StackOverflow: https://serverfault.com/questions/tagged/openvpn?tab=Votes
Related[edit]
See also[edit]
- OpenVPN, Tunnelblick, OpenVPN Connect,
.ovpn
, CRL,systemctl status openvpn
,/var/log/openvpn.log
,/lib/systemd/system/openvpn.service
,systemctl status openvpn-server@server
,/etc/openvpn/
,/etc/openvpn/server.conf
,/etc/pam.d/openvpn
,/etc/openvpn/users
,openvpn --help
, OpenVPN changelog, Pritunl, tunl0 - VPN: IPsec (Openswan), OpenVPN, Forticlient, GlobalProtect (PAN-OS), WireGuard (Linux Kernel), Tailscale, PulseSecure, WebVPN, SoftEther, ESP, IKE, AWS VPN, Zerotier, VPN client, Pritunl, GCP Cloud VPN, Mesh virtual private network, Mullvad
Advertising: