How to set up a lightweight Linux VPS relay for link bonding
This walkthrough installs the ParlNet relay binary on a Debian or Ubuntu x86_64 VPS. The relay is an endpoint for Bond mode; it is not needed for Local Proxy and is not a general-purpose VPN service.
1. Check the VPS and firewall
A small Linux VPS can run the relay, but the network path and VPS uplink constrain real throughput. Use a nearby location where possible. Confirm the provider allows outbound traffic and inbound UDP 47823 (the default Bond port). The separate relay-backed TCP Proxy port is not required for Local Proxy.
sudo apt update sudo apt install -y ca-certificates iproute2 iptables openssl uname -m
The published relay binary targets x86_64 Linux. If UFW is active, allow the Bond port:
sudo ufw allow 47823/udp
Also open the same port in the VPS provider's firewall/security group. Keep unrelated firewall rules unchanged.
2. Download and verify the relay binary
Download the official Linux relay binary and the checksum list. Compare the SHA-256 value before installing. Do not substitute the source archive; the public download is the ready-to-run binary.
sha256sum parlnet-server chmod 0755 parlnet-server ./parlnet-server --help
3. Create a private PSK file
Generate a strong random key locally on the VPS and keep it readable only by root. The relay reads the bytes from the file, so avoid adding an unwanted newline.
sudo install -d -o root -g root -m 0700 /etc/parlnet sudo sh -c 'umask 077; openssl rand -base64 32 | tr -d "\\n" > /etc/parlnet/psk' sudo chmod 0600 /etc/parlnet/psk
Transfer the key to the client through a secure method you control. It is a secret credential: do not include it in the website, a command-line argument, a public repository, or diagnostic logs.
4. Create a systemd service
Install the verified binary at a stable path and create a service that uses the root-only PSK file. The service needs root for TUN setup and NAT configuration.
sudo install -d -o root -g root -m 0755 /opt/parlnet sudo install -o root -g root -m 0755 parlnet-server /opt/parlnet/parlnet-server sudo tee /etc/systemd/system/parlnet-server.service >/dev/null <<'UNIT' [Unit] Description=ParlNet Cloud 3.2.0 relay After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=/opt/parlnet/parlnet-server --port 47823 --psk-file /etc/parlnet/psk --nat Restart=on-failure RestartSec=3 NoNewPrivileges=false [Install] WantedBy=multi-user.target UNIT sudo systemctl daemon-reload sudo systemctl enable --now parlnet-server
The binary performs a required HTTPS version check against parlnet.cloud before listening. The website version metadata and relay/client must agree at 3.2.0. If the check fails, inspect DNS, outbound HTTPS, the system CA store, and the published version metadata; do not disable TLS validation.
5. Verify the relay is listening
sudo systemctl status parlnet-server --no-pager -l sudo journalctl -u parlnet-server -n 40 --no-pager sudo ss -lunp | grep ':47823'
Look for a successful official version check and a UDP socket on port 47823. If the service reports TUNSETIFF: Device or resource busy, do not start a second relay; check for an existing service using the same TUN device.
6. Connect the client
In the Windows or Linux GUI, select Bond (TUN), enter the VPS host/IP, UDP port, slot, and matching PSK, then select the local links. Check link RTT/loss and keep one reliable route available. The remote relay sees the public IP of the VPS, not the individual local links.
Troubleshooting checklist
- No service start: check
systemctl statusand the journal; verify path and executable permissions. - Version mismatch: update the relay/client as a coordinated 3.2.0 set and confirm the official version endpoint is live.
- No UDP reachability: inspect both provider and host firewalls, DNS, and the correct port.
- High latency or spikes: compare each access link separately, choose a nearby VPS, check queueing/bufferbloat, and try the low-jitter UDP scheduler. Bonding cannot eliminate congestion or guarantee lower game ping.
- Do not expose the key: redact PSK files and command output before sharing diagnostics.