Skip to content

Instantly share code, notes, and snippets.

@Fijxu
Created May 3, 2024 16:05
Show Gist options
  • Save Fijxu/54fb2e23fd704394dee3184a57d4d62a to your computer and use it in GitHub Desktop.
Save Fijxu/54fb2e23fd704394dee3184a57d4d62a to your computer and use it in GitHub Desktop.
Allow access to all ports in Tailscale VPN using FirewallD
#!/bin/sh
firewall-cmd --new-zone=tailscale
firewall-cmd --zone=tailscale --add-interface=tailscale0
firewall-cmd --zone=tailscale --set-target=ACCEPT
firewall-cmd --runtime-to-permanent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment