Skip to content

Instantly share code, notes, and snippets.

@rhom6us
Last active July 15, 2022 21:34
Show Gist options
  • Save rhom6us/528e9254668687614ade240f018f627d to your computer and use it in GitHub Desktop.
Save rhom6us/528e9254668687614ade240f018f627d to your computer and use it in GitHub Desktop.
Configure Ubuntu to be accessible via RDP
#!/bin/bash
# chmod +x ./enable-rdp.sh
sudo apt install xrdp
sudo systemctl enable --now xrdp
sudo ufw allow from any to any port 3389 proto tcp
sudo ufw allow from any to any port 3399 proto tcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment