Easy install Script for Rustdesk on linux, should work on any debian or centos based system supporting systemd. For Rustdesk - https://rustdesk.com
Please setup your firewall on your server prior to running the script.
Make sure you have got access via ssh or otherwise setup prior setting up the firewall, command for UFW is.
ufw allow proto tcp from YOURIP to any port 22
If you have UFW installed use the following commands:
ufw allow 21115:21119/tcp
ufw allow 21116/udp
sudo ufw enable
Run the following commands:
wget https://github.com/Hoerli1337/rustdeskinstall-without-webserver/raw/master/install.sh
chmod +x install.sh
./install.sh
- You need to install sudo
- RustDesk is installed to /opt/rustdesk
- Logs are here /var/log/rustdesk/
- You can control it with systemctl XXX rustdesksignal.service + rustdeskrelay.service
I remove the Linux + Powershell-Script and the webserver. I dont need that on my server.