What you need
- A clean Debian 13, x86_64, with root access.
- Your own domain and an A record for each name: , media, and push. For example,
relay.example.org. - Ports 80 and 443 open.
- For calls, also: 8443/tcp (control), 3478 udp and tcp, 3479 udp and tcp (SFU), 49152–49999/udp (relay range). Open them in your provider's firewall too.
Installation
- Run the installer on the server:
curl -fsSL https://raw.githubusercontent.com/veydanproject/Veydan-Server/main/install.sh | sudo bash - Answer the installer's questions:
- which parts to install:
relay media vpush call bridge; - your domain and a short name for each part:
relay,media, andpushbecomerelay.example.organd so on; - where to store media files: on this server's disk or in an S3 bucket (address, bucket, region, keys);
- an email address for Let's Encrypt;
- the region, a short word such as
euorus.
--lang ru. - which parts to install:
- The installer shows the DNS records to add and waits. Add them to your domain's DNS. Before requesting certificates, the installer checks that each name points to this server.
At the end, the installer prints the server and the link for the app (see Card and link). On the first run, a server with one relay also asks for the access mode (it suggests team) and your key.
The answers are saved in /opt/veydan/server.conf. Running the installer again reads this file and asks nothing. To add a part to a server that's already installed: --add call.
The installer turns on ufw: ssh, 80 and 443 are open (and the call ports, if you install call), everything else is closed. To leave the firewall alone, set FIREWALL=none in server.conf.
To install without questions, put server.conf next to the installer (the template is server.conf.example from the bundle) and run it with --yes: any missing answer keeps its default. --config <file> takes the answers from another file, and --dry-run only prints what would be done.
A bridge and a call node that help the Veydan network, not your own server, are installed separately: --bridge (a bridge only), --volunteer (a bridge and a call node), --call (a call node only). The installer asks a few questions; no domain is needed.