algo/docs/deploy-to-ubuntu.md
Jack Ivanov c14ff0d611
Ubuntu 20.04 support (#1782)
* ubuntu 20.04 support

* purge snapd for 20.04

* strongswan-starter fix
2020-05-10 13:48:30 +03:00

2.0 KiB

Local Installation

You can use Algo to configure a pre-existing server as an AlgoVPN rather than using it to create and configure a new server on a supported cloud provider. This is referred to as a local installation rather than a cloud deployment. If you're new to Algo or unfamiliar with Linux you'll find a cloud deployment to be easier.

To perform a local installation, install the Algo scripts following the normal installation instructions, then choose:

Install to existing Ubuntu 18.04 or 20.04 server (for more advanced users)

Make sure your target server is running an unmodified copy of the operating system version specified. The target can be the same system where you've installed the Algo scripts, or a remote system that you are able to access as root via SSH without needing to enter the SSH key passphrase (such as when using ssh-agent).

Road Warrior setup

Some may find it useful to set up an Algo server on an Ubuntu box on your home LAN, with the intention of being able to securely access your LAN and any resources on it when you're traveling elsewhere (the "road warrior" setup). A few tips if you're doing so:

  • Make sure you forward any relevant incoming ports to the Algo server from your router;
  • Change BetweenClients_DROP in config.cfg to false, and also consider changing block_smb and block_netbios to false;
  • If you want to use a DNS server on your LAN to resolve local domain names properly (e.g. a Pi-hole), set the dns_encryption flag in config.cfg to false, and change dns_servers to the local DNS server IP (i.e. 192.168.1.2).

PLEASE NOTE: Algo is intended for use to create a dedicated VPN server. No uninstallation option is provided. If you install Algo on an existing server any existing services might break. In particular, the firewall rules will be overwritten. See AlgoVPN and Firewalls for more information.