Appearance
Add or replace a panel proxy
A panel proxy hides your control IP behind Cloudflare. Read Why panel proxies first if you have not.
Before you start
- A small Linux server (Ubuntu 22.04, 24.04 or Debian 12). 1 CPU and 512 MB of memory are plenty.
- Ports 80, 443 and 8443 open to the internet.
- The control can be reached from the proxy on its node API port (8443).
- For DNS: the Cloudflare integration is set up, and the panel domain is in a zone it manages.
Add a proxy
- Open Servers, then Panel proxies, and click Add proxy.
- Give it a name and click Create.
- Install it one of two ways:
- copy the install command and run it on the new server as root, from a release folder:bash
sudo ./deploy/install.sh --role edge --join <key> --control https://<control address>:8443 - or use Install over SSH in the same dialog. It works like installing a node from the panel.
- copy the install command and run it on the new server as root, from a release folder:
- Wait for The proxy joined. It shows as Online within 10 seconds.
The installer copies only bs-edge and a systemd unit. It installs no ffmpeg and no database. The proxy gets all its settings from the control.
Add a second proxy, ideally at another provider, so one going down does not take the panel with it.
Point the domain at the proxies
With Manage the DNS record on (the default), the panel does this for you: the panel record becomes proxied A records with the IPs of the online proxies. Click Update now to do it right away. Check the warnings in the DNS card: if any record points to the control IP, delete it in Cloudflare.
Turn on the lockdown
- Open the panel through its domain, so the page goes through a proxy.
- Under Accept only from proxies, click Turn on.
- Reload the page to check it still works, then click Confirm within 5 minutes.
If you do not confirm, it turns off by itself. If you get locked out anyway, run sudo /opt/bitstream/bin/bs-lockdown off on the control (over SSH, which is never closed), then bs-lockdown resume when done.
Replace a proxy
Do this when a proxy IP leaked, is attacked, or the server is gone.
- Click Replace on the proxy.
- The old proxy stops working now and leaves the DNS record. Install the new one with the command shown.
- Destroy the old server at your provider.
Remove a proxy
Click the trash icon. The proxy stops working and leaves the DNS record. Keep at least one online while the lockdown is on: with none for 10 minutes, the lockdown turns off by itself.
Nodes through the proxies
With Nodes connect through the proxies on, nodes reach the control through the proxies on port 8443, so they need not know the control IP either. Keep Direct fallback for nodes on unless every node can reach a proxy: if no proxy answers, a node then uses the direct address. Nodes pick up the change within a minute, without a restart.