Created
May 3, 2024 16:05
-
-
Save Fijxu/54fb2e23fd704394dee3184a57d4d62a to your computer and use it in GitHub Desktop.
Allow access to all ports in Tailscale VPN using FirewallD
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/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