An automated Bash script for deploying a Remnanode with Nginx proxy, a selected web service, and Cloudflare WARP integration.
The script fully configures a server from scratch:
- Infrastructure: Installs Docker Engine and Docker Compose.
- SSL Certification: Installs
acme.shand issues Let's Encrypt certificates (Standalone mode). - Nginx Proxy: Configures a proxy server (port
9443) for secure HTTPS access. - Remnanode: Installs the node with automatic
SECRET_KEYand SSL certificate paths. - Security: Configures
ufwfirewall (only necessary ports are opened). - Cloudflare WARP: Downloads the WARP client installer.
- OS: Ubuntu 22.04+ or Debian 11+.
- Domain: Your A-record must point to the server's IP.
- Permissions: Run as root or with sudo.
- Clone the repository:
git clone https://github.com/x1roko/node-setup.git- Navigate to the project folder:
cd node-setup- Grant execute permissions:
chmod +x install.sh- Run the installation:
./install.shgit clone https://github.com/x1roko/node-setup.git && cd node-setup && sudo chmod +x install.sh && sudo ./install.sh The script will prompt for:
- Email (for SSL registration).
- Domain (e.g.,
node.domain.com). - SECRET_KEY (from Remnawave control panel).
- Service Selection (enter a number or press Enter for random).
/opt/remnanode/— Node configuration./opt/remnanode/nginx/— Nginx configs and SSL keys./opt/[service-name]/— Selected web service files.
| Port | Service |
|---|---|
| 443 | xray (or custom) |
| 9443 | Web Interface (HTTPS) |
| 2222 | Remnanode Node Port |
| 40000 | Cloudflare WARP SOCKS5 (closed) |