3.0 KiB
3.0 KiB
Client Setup: OpenVPN
Table of Contents
Windows
- Configure OpenVPN
- Download and install OpenVPN
- Start
OpenVPN GUIfrom the Start Menu - Locate the OpenVPN icon in the Task Bar, right click, and select
Import file... - Select your OVPN file
- Right click on the OpenVPN icon again, and select
Connect
- To disconnect
- Locate the OpenVPN icon in the Task Bar, right click, and select
Disconnect - Locate the
stunnelicon in the Task Bar, right click, and selectExit
- Locate the OpenVPN icon in the Task Bar, right click, and select
MacOS
- Configure OpenVPN
- Download and install Tunnelblick
- Locate your OVPN file in
Finder, and double-click to open it. - Locate the
Tunnelblickicon on the top-right corner. Click on it, and select the server you want to connect to.
- To disconnect
- Locate the
Tunnelblickicon on the top-right corner. Click on it, and selectDisconnect All. - To stop
stunnel, run this inTerminal:sudo killall stunnel
- Locate the
Linux
-
Install
openvpnon your device.# Debian/Ubuntu sudo apt install -y openvpn # CentOS/RHEL sudo yum install -y epel-release sudo yum install -y openvpn # Fedora sudo dnf install -y openvpn -
Connect to OpenVPN
# Run this in the directory that contains your OVPN file # Replace 'client' with your OVPN filename openvpn --config client.ovpn -
To disconnect
# Stop OpenVPN sudo killall openvpn
Android
- Download OpenVPN for Android from Google Play Store
- Transfer your OVPN file to your device.
- Click on the
importicon (between+andMenuicon), and select your OVPN file. - Click on the check mark to confirm import.
- Click on a profile name to connect.
- If you see a
connection requestpopup, selectConnectorOK.
- If you see a
- To disconnect: Select the
VPN connectionnotification in your notification center, and clickDisconnectin the popup.
iOS
- Download OpenVPN Connect from App Store
- Send the OVPN file as an attachment to yourself via email, and open it in your email app on the iOS device.
- If you see a popup with a list of different apps, select
OpenVPN Connect.
- If you see a popup with a list of different apps, select
- Click on the switch next to
Connection, make sure it's at theONposition. - To disconnect: click on the switch next to
Connection, make sure it's at theOFFposition.
Troubleshooting
-
If you're unable to connect to your server with OpenVPN...
-
Check if OpenVPN is running on your server.
# You should see openvpn in the output ps -A | grep openvpn -
If you still can't connect, try removing and reinstalling OpenVPN on your server.
- Run the install script and select
Uninstall - Run the install script again and make sure you enter the correct information.
- Run the install script and select
-