62 lines
2.6 KiB
HTML
62 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<style>
|
|
body {
|
|
max-width: 30em;
|
|
margin-left: 2em;
|
|
}
|
|
p.center {text-align:center;}
|
|
</style>
|
|
<link rel="shortcut icon" href="../rho.ico">
|
|
<title>Openvpn</title> </head>
|
|
|
|
<body>
|
|
<p><a href="./index.html"> To Home page</a> </p>
|
|
|
|
<h1>Openvpn on the cloud</h1><p>
|
|
|
|
Figure out what version of debian you are running:<pre>
|
|
cat /etc/*-release && cat /proc/version
|
|
</pre><p>
|
|
Browse to <a href="https://openvpn.net/download-open-vpn/">openvpn downloads</a>. Find the file you want, in this case <code>http://swupdate.openvpn.org/as/openvpn-as-2.6.1-Debian9.amd_64.deb</code><pre>
|
|
wget http://swupdate.openvpn.org/as/openvpn-as-2.6.1-Debian9.amd_64.deb
|
|
dpkg -i openvpn-as-2.6.1-Debian9.amd_64.deb</pre><p>
|
|
Setup program will echo:<pre>
|
|
Please enter "passwd openvpn" to set the initial
|
|
administrative password, then login as "openvpn" to continue
|
|
configuration here: https://172.245.71.242:943/
|
|
</pre><p>
|
|
You should now have an admin webserver on port 943 with username openvpn and the password you just created.</p><p>
|
|
|
|
Upon logging in with your recently created username ane password, you should see:<pre>
|
|
To download the OpenVPN Connect app, please choose a platform below:
|
|
|
|
OpenVPN Connect for Windows
|
|
OpenVPN Connect for Mac OS X
|
|
OpenVPN Connect for Android
|
|
OpenVPN Connect for iOS
|
|
OpenVPN for Linux
|
|
|
|
Connection profiles can be downloaded for:
|
|
|
|
Yourself (user-locked profile)</pre><p>
|
|
|
|
The user locked profile is your client.ovpn file, the OpenVPN Connect for windows is your client program that uses it.</p>
|
|
|
|
<hr><p>
|
|
|
|
To set up OpenVPN, need tun and tap enabled. This is done from the control panel of the virtual server, not by installing software as root.</p><p>
|
|
|
|
All the <a href="https://nikinuryadin.wordpress.com/2010/04/16/step-by-step-setting-up-openvpn-in-debian-with-routing-tun-connection/">tutorials on openvpn</a> assume TUN is installed</p><p>
|
|
|
|
Tap is hugely better than TUN if your vpn host is just one machine, rather than a vpn network. And I suspect it is going to be hugely harder for anti vpn measures to detect it. </p><p>
|
|
|
|
These days, every package and its little brother has gui elements, and you cannot walk through a Debian 9 configuration and setup tutorial without being asked to pop up something graphically.</p>
|
|
|
|
<p style="background-color: #ccffcc; font-size: 80%;">These documents are
|
|
licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">Creative
|
|
Commons Attribution-Share Alike 3.0 License</a></p>
|
|
</body>
|
|
</html> |