X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/89381fe13e3d664ba1d2bf407b0f49f2fd2040f4..994ac8d0782c89a636f47b02a2dc096c72ff58c5:/telecaster.m4 diff --git a/telecaster.m4 b/telecaster.m4 index 4e3763d..b9f1069 100644 --- a/telecaster.m4 +++ b/telecaster.m4 @@ -29,14 +29,18 @@ m4_divert(86)m4_dnl allowservices inbound tcp \ ssh \ ident \ - ftp ftp_data \ + smtp \ + ftp ftps \ rsync \ - http https squid -allowservices inbound udp \ - icp + http https squid ssquid + +run iptables -A inbound -j ACCEPT \ + -p udp --destination-port $port_icp \ + -m limit --limit 10/second --limit-burst 100 ## Other interesting things. dnsresolver inbound +dnsserver inbound m4_divert(-1) ###----- That's all, folks --------------------------------------------------