1.First Update and upgrade the packages :

sudo -- sh -c 'apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y'

2.Install Docker:

sudo curl -sS https://get.docker.com/ | sh

3.Start Docker :

sudo systemctl start docker

4.enable Docker :

sudo systemctl enable docker

5.get status of the docker it should show a green word like “Running”

sudo sudo systemctl status docker

6.run the Script of outline server and wait for installation :

sudo wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash

After Installation : You will be provided with a green link consisting of ApiUrl and certSha256 copy the whole green link and put it in installation output :

(This is the usual installation if you seek for customized installation follow up for EXTRA step of 7)

Custom code Custom port Custom name and port connection to custom server

7.Custome Outline Server Installation

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"  --hostname=WGAPI --keys-port=443 --api-port=8080

Basically API port is for Outline Manager where you can simply add delete users from a simple app connected to server

Keys port is the port for every user or access key created in outline manager

Hostname is your customized name indicated in user Outline VPN

“however i never seen Hostname work properly”

After installation you may need to secure Outline Server with UFW (uncomplicated firewall) : — How to secure Outline Server :

Firstly, get UFW installed if it’s not.

sudo apt-get install ufw

after installing UFW you can configure the firewall without enabling it .

sudo ufw allow <port>/<optional: protocol>sudo ufw allow 8080/tcpsudo ufw allow 8080/udpsudo ufw allow 443/tcpsudo ufw allow ssh

and allow any ports that Outline may needs after running outline script .

Enabling UFW :

sudo ufw enable

Output :

Firewall is active and enabled on system startup

“Now your Secure don’t worry, except a secure device is a dead device”

Still user speed limitation is not being set which means your connections depending on your server and user internet speed may catch up to 150mb per access key.

Leave a Reply

Your email address will not be published. Required fields are marked *