Whenever I install a Linux distro on my computer and want to quickly unblock websites or hide my IP address, I install OpenConnect client and connect to the server with just two lines of commands:. You can easily install it with your package manager. To follow this tutorial, you will need a VPS Virtual Private Server that can access blocked websites freely Outside of your country or Internet filtering system. You also need a domain name. I registered my domain name from NameCheap because the price is low and they give whois privacy protection free for life. Then use apt to install the ocserv package from Debian repository. You can check its status with:. For example, if you use UFW , then run the following commands.
Where would you like to share this to?
If You Appreciate What We Do Here On TecMint, You Should Consider:
In this tutorial, I will use the hostname server1. These settings might differ for you, so you have to replace them where appropriate. Before proceeding further you need to have a minimal installation of Debian This might be a Debian minimal image from your Hosting provider or you use the Minimal Debian Server tutorial to set up the base system. All commands below are run as root user. Either log in as root user directly or log in as your normal user and then use the command. From now on you can use an SSH client such as PuTTY and connect from your workstation to your Debian 9 server and follow the remaining steps from this tutorial. We will use nano text editor in this tutorial. Some users prefer the classic vi editor, therefore we will install both editors here.
Get the latest tutorials on SysAdmin and open source topics. Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits. By Justin Ellingwood and Brian Boucheron.
Get the latest tutorials on SysAdmin and open source topics. Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits. By Justin Ellingwood and Mark Drake. Want to access the Internet safely and securely from your smartphone or laptop when connected to an untrusted network such as the WiFi of a hotel or coffee shop? A Virtual Private Network VPN allows you to traverse untrusted networks privately and securely as if you were on a private network.