Firewall Configuration for Shiny + HTTPS
This script enables incoming traffic on ports commonly used by NGINX (HTTPS) and Shiny Server:
- Port 443: Standard HTTPS traffic (handled by NGINX)
- Port 3838: Shiny Server application traffic
Usage
Run the script with:
chmod +x allow-shiny-ports.sh
./allow-shiny-ports.sh
Make sure to run it as a user with sudo
privileges.
Result
This will: - Allow TCP traffic on ports 443 and 3838 - Save these iptables rules persistently via netfilter-persistent