Skip to content

Commit

Permalink
feat(firewall): add Tailscale configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumededrie committed Dec 27, 2023
1 parent c3293d8 commit 7751773
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions files/etc_nftables.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ table inet firewall {
# UPnP
ip daddr 239.255.255.250 udp dport 1900 counter accept comment "Accept UPnP"

# Tailscale, see: https://tailscale.com/kb/1082/firewall-ports
udp sport 41641 counter accept comment "Allow Tailscale Direct Wireguard tunnels"
udp dport 3478 counter accept comment "Allow STUN protocol behind NAT"

log prefix "[nftables] Output Denied: " counter reject
}

Expand Down

0 comments on commit 7751773

Please sign in to comment.