• Triomates

How to install and configure Outline VPN server on Centos 7/RHEL in Google Cloud

Updated: Mar 4, 2020

A virtual private network, or VPN, is an encrypted connection from a client device to remote target and vice versa over internet. This encrypted connection helps us ensure that sensitive data is safely transmitted in open network. It prevents unauthorized people from eavesdropping on the traffic and allows the user to conduct work remotely.

In this article, we will explain how to set up a VPN server in a RHEL/CentOS 7 box using Outline, a opensource and highly flexible application that is based on Shadowsocks (A secure SOCKS5 proxy). Outline VPN server act as a secure Internet gateway for clients.

For this setup, we’ve used a VM instance on Google cloud, which act as a Outline VPN server and two nodes (Andriod and Windows) act as a clients to connect to remote VPN server.

Note: The same instructions also works on RHEL/CentOS 6 and Fedora systems.

1. Setting up Node

  • Connect to the server using SSH.

  • Update the system.

# yum update -y

  • Install Wget package.

# yum install wget -y

  • Installing Docker

# curl -sS | sh

  • Starting Docker

# systemctl start docker

2. Setting up the manager application on Windows.

" with the Outline manager application one can manage multiple Outline servers as well as the access keys for client users. On a private Linux infrastructure or on a cloud. "

  • Use the link to download the application and run the executable file.

  • Open the application and select the server provider i.e. we are using Google cloud.

  • Select set up, copy the command form the tab and run it on the server.

# sudo bash -c "$(wget -qO- "

  • Finally, we will connect the server to manager. Paste the API url generated while installing the server on Outline manager, as shown above.

  • The Outline server is now connected to manager, as shown above. Now, create API keys and share them with users to connect to the VPN server.

14 views0 comments