software:rust:server_devuan
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:rust:server_devuan [2025/09/19 00:34] – rodolico | software:rust:server_devuan [2025/09/29 16:51] (current) – rodolico | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== RustDesk Server on Devuan ====== | ====== RustDesk Server on Devuan ====== | ||
| - | |||
| - | <WRAP center round alert 60%> | ||
| - | Warning. I am still editing this on 18 Sep 2025. Do not use these instructions until I have finished editing, then tested the procedure. This notice will be removed at that time. | ||
| - | </ | ||
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| - | The RustDesk Server must be accessible from any connecting clients on ports 21115-21119, TCP and UDP. If any workstation will be accessing from outside your network, you will need to forward those ports on your router to your server | + | The RustDesk Server must be accessible from any connecting clients on ports 21114-21119, TCP and UDP. If any workstation will be accessing from outside your network, you will need to forward those ports on your router to your server. Not all are required for all installations. See section //Open Ports// for more information. |
| </ | </ | ||
| Line 14: | Line 10: | ||
| This article describes how to set up the Rust Server on Devuan, and may be helpful for other systems also. | This article describes how to set up the Rust Server on Devuan, and may be helpful for other systems also. | ||
| + | |||
| + | |||
| + | ===== Open Ports ===== | ||
| + | |||
| + | On your firewall/ | ||
| + | |||
| + | Following table shows what the ports are used for. | ||
| + | |||
| + | ^Port | ||
| + | | 21114 | HBBS (RustDesk server) | TCP | Default port for API (not required) | ||
| + | | 21115 | HBBS (RustDesk server) | TCP/UDP | Default port for the RustDesk server. | ||
| + | | 21116 | HBBS (RustDesk server) | TCP/UDP | Used for client connections to the server. | ||
| + | | 21117 | HBBS (RustDesk server) | TCP/UDP | Additional port for server communication. | ||
| + | | 21118 | HBBS (RustDesk server) | TCP/UDP | Another port for server communication. | ||
| + | | 21119 | HBBS (RustDesk server) | TCP/UDP | Used for additional server functionalities. | | ||
| + | | 80 | HTTP (optional fallback) | TCP | Commonly allowed port for web traffic; can be used for fallback. | | ||
| + | | 443 | HTTPS (optional fallback) | TCP | Secure web traffic; can be used for fallback | ||
| ===== Set up user ===== | ===== Set up user ===== | ||
| Line 58: | Line 71: | ||
| <code bash> | <code bash> | ||
| cd / | cd / | ||
| - | sudo -u rust ./ | ||
| echo Starting signaling server for testing. Press ^c to exit when you are happy | echo Starting signaling server for testing. Press ^c to exit when you are happy | ||
| sudo -u rust ./hbbs | sudo -u rust ./hbbs | ||
| Line 184: | Line 196: | ||
| #!/bin/sh | #!/bin/sh | ||
| ### BEGIN INIT INFO | ### BEGIN INIT INFO | ||
| - | # Provides: | + | # Provides: |
| # Required-Start: | # Required-Start: | ||
| # Required-Stop: | # Required-Stop: | ||
| Line 327: | Line 339: | ||
| </ | </ | ||
| - | ===== Optional Steps ===== | ||
| - | |||
| - | The script that techahold wrote will ask permission, then automatically install a lightweight web server and create customized installers for Windows and Linux. I'm not going into that here, but it is pretty straightforward. Another github user, dinger1986, has install scripts for [[https:// | ||
| - | |||
| - | Basically, you can download those scripts and run the following commands on them. Then, make them available to your users who can run them on their computer and have RustDesk Client installed on their computer, already set up for your server. | ||
| - | |||
| - | Download and edit the following file. Change your.url.or.ip to the URL or IP of your new server, and change contents_of_public_key_file_on_your_server to the contents of / | ||
| - | |||
| - | <code bash> | ||
| - | # | ||
| - | |||
| - | WANIP=your.url.or.ip | ||
| - | KEY=contents_of_public_key_file_on_your_server | ||
| - | string=" | ||
| - | string64=$(echo -n " | ||
| - | string64rev=$(echo -n " | ||
| - | wget https:// | ||
| - | sudo sed -i " | ||
| - | # Create linux install script | ||
| - | wget https:// | ||
| - | sudo sed -i " | ||
| - | </ | ||
| ===== Links ===== | ===== Links ===== | ||
software/rust/server_devuan.1758260092.txt.gz · Last modified: 2025/09/19 00:34 by rodolico
