provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
476 B

7 months ago
  1. table inet firewall {
  2. chain input {
  3. type filter hook input priority 0; policy drop;
  4. # established/related connections
  5. ct state established,related accept
  6. # loopback + lxdbr0 interface
  7. iifname lo accept
  8. iifname lxdbr0 accept
  9. # icmp
  10. icmp type echo-request accept
  11. # allow mDNS
  12. udp dport mdns accept
  13. # allow SSH + GITEA + NGINX
  14. tcp dport {22, 2222, 80, 443} accept
  15. }
  16. }