Last active
July 15, 2022 21:34
-
-
Save rhom6us/528e9254668687614ade240f018f627d to your computer and use it in GitHub Desktop.
Configure Ubuntu to be accessible via RDP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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