ufw: How to allow traffic to all ports on specific interface
example.sh
sudo ufw allow in on tailscale0 to any
This will allow any traffic (including routed traffic, if packet forwarding is enabled) coming from the tailscale0
interface.
Check out similar posts by category:
Linux, Networking, VPN
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow