Hi
Is it possible to install Outline VPN on ubuntu home server?
Hi
Is it possible to install Outline VPN on ubuntu home server?
Yes but it will likely not be all very straightforward. You’ll need to do port forwarding on your own
(I am not that advanced and this is what I did to make it work)
Sorry for being a little late, I just did the exact same thing to fix an issue I had.
The steps below is what I did following this guide
To begin first update your ubuntu server with sudo apt update
and sudo apt upgrade
.
After that you need to install docker, follow the docker related steps in the guide
I also have a firewall setup with ufw, sudo apt install ufw
Now you can get the outline manager on another machine. Click on “Set up Outline anywhere”. You should be able to see a command on the first message box. This will execute a script that will install the outline vpn docker container along with watchtower for automatic updates. (command is the same as the blog post, just some additional parameters you can specify, i did not use it)
Paste that command on the ubuntu server, then wait for it to install. In the end it should give you a message for you to paste into the second message box. Note that if you just want to access the outline manager from the same network, you need to change the public ip in the message to the local ip of the ubuntu server (setup a ip reservation on the router or setup static ip for the server).
Enable firewall
sudo ufw enable
Enable the port for the outline management api.
sudo ufw allow managementPort/tcp
After that try paste the message into the second message box for the outline manager to connect. After that you can specify the vpn connection port if i remember correctly, in the settings. Then allow the vpn connection port in the firewall
sudo ufw allow vpnPort/tcpsudo ufw allow vpnPort/udp
I think this is all the steps i took to set it up. I am not sure about the firewall setup but I did it sorta similar to the guide.
Of course to access the vpn server you need to open the vpn connection port, and the same if you want to manage it remotely as well.
Good luck, I’ll try to help if there’s an issue with the install.
do you have any tutorial - can’t find anything