---
# System prepended metadata

title: Establish OpenVPN server on Ubuntu 18.04 LTS
tags: [openvpn]

---

# Establish OpenVPN server on Ubuntu 18.04 LTS

1. Download **openvpn-install**.**sh**
`wget https://git.io/vpn -O openvpn-install.sh`
2. Execute script file
`chmod +x openvpn-install.sh`
`sudo ./openvpn-install.sh`
3. Allow port for client accessing

---

## Start Server
`sudo systemctl start openvpn@server`

## Stop Server
`sudo systemctl stop openvpn@server`

## Restart Server
`sudo systemctl restart openvpn@server`
## Get Server Status
`sudo systemctl status openvpn@server`

---

# Using OpenVPN client on Windos10

1. Download OpenVPN client for Windows10
2. Execute OpenVPN GUI
3. Import **XXX.ovpn** config which created by server
4. Connect to server

###### tags: `openvpn`