Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Created April 20, 2023 08:11
Show Gist options
  • Save Voronenko/f8ad9879a381357b9bdf08f3a7718fc2 to your computer and use it in GitHub Desktop.
Save Voronenko/f8ad9879a381357b9bdf08f3a7718fc2 to your computer and use it in GitHub Desktop.
ufw swarm ports
ufw allow from 192.168.3.0/24 proto tcp to any port 2376
ufw allow from 192.168.3.0/24 proto tcp to any port 2377
ufw allow from 192.168.3.0/24 proto tcp to any port 7946
ufw allow from 192.168.3.0/24 proto udp to any port 7946
ufw allow from 192.168.3.0/24 proto udp to any port 4789
@Voronenko
Copy link
Author

ufw allow from 192.168.3.0/24 proto tcp to any port 5432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment