Run your own server
Run Farlink’s relay on your own VPS. Your networks use your server instead of ours.
Separate from Farlink’s servers. A server you run makes no connection to ours, has no billing and no traffic limits. Only the people you invite use it.
What it does
A Farlink server helps your devices find each other and forwards encrypted data when they cannot connect directly. Your files and messages are end-to-end encrypted on your devices, so the server only sees ciphertext.
What you need
- A Linux server (x86-64 or ARM64) with a public IPv4 address.
- A domain name that points to it. The server gets a free Let’s Encrypt certificate by itself.
- Open ports: 443 and 80 (TCP), 3478 (UDP) and 5349 (TCP).
- Farlink Pro in the app, to connect to your own server.
Download
Version 0.6.4. Check the file against the SHA-256 sums before you run it.
| Platform | File |
|---|---|
| Linux, x86-64 | farlink-server-0.6.4-linux-amd64.tar.gz |
| Linux, ARM64 | farlink-server-0.6.4-linux-arm64.tar.gz |
| SHA-256 sums | SHA256SUMS |
Install
- Unpack the archive:
tar xzf farlink-server-0.6.4-linux-amd64.tar.gz && cd farlink-server - Start the server with your own domain and IP address.
-idmust be exactly the address people will type, in lower case, without a slash at the end:./farlink-server -id https://files.example.com -domain files.example.com -public-ip 203.0.113.5 - To keep it running, use the systemd file from the
deployfolder. Edit the domain and address in it first. - In Farlink open Settings → Servers and add your server. Check the certificate fingerprint shown in the server log.
- Create a network and invite people. The invitation link or QR code fills in your server for them.
Good to know
- Apple push notifications work only on Farlink’s own servers. With your server an iPhone or iPad may receive new files only while the app is open or was recently used.
- To update, download the new version, stop the server, replace the file and start it again. Keep the data folder: it holds your server’s keys and queue.
- While a device is offline, files wait on the server. It is a delivery queue, not a backup.
License
Farlink Server is source-available, not open source. You may run it unmodified for yourself and your own networks. You may not modify it, redistribute it or use it commercially. Read the license and browse the source code.