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
).
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
inconfig.cfg
tofalse
, and also consider changingblock_smb
andblock_netbios
tofalse
; - 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 inconfig.cfg
tofalse
, and changedns_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.