Skip to content

Instantly share code, notes, and snippets.

@y56
Created January 2, 2020 22:12
Show Gist options
  • Save y56/e7d8d5d462db125432d61249f0f297ff to your computer and use it in GitHub Desktop.
Save y56/e7d8d5d462db125432d61249f0f297ff to your computer and use it in GitHub Desktop.
vpn on ubuntu vpngate openvpn
https://www.vpnusers.com/viewtopic.php?t=2861
====
You can connect all VPN Gate server by following settings.
HostName: Please get from this page http://www.vpngate.net/en/
UserName: vpn
Password: vpn
Pre-shared key: vpn
====
Open "terminal" and Enter:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openvpn
(if you are using the new Ubuntu 14.04 LTS you can replace "apt-get" with "apt")
Now visit http://www.vpngate.net/en/ ,check only OpenVPN and refresh the list.
Click on "OpenVPN Config file" of the server you want. Then select the Config-File you want. I would try first a UDP-One and if this makes trouble, a TCP one.
Save the *.ovpn file to you home-directory. Now (re)open the terminal and enter:
sudo openvpn /home/yourusername/vpngate_vpn123456.opengw.net_udp_1869.ovpn
With CTRL+C, you can disconnect the vpn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment