X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/beb4f0eeafb386d83f2593fec489f4291583e08b..HEAD:/ibanez.m4 diff --git a/ibanez.m4 b/ibanez.m4 index e50b56c..0708ed6 100644 --- a/ibanez.m4 +++ b/ibanez.m4 @@ -22,26 +22,22 @@ ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ###-------------------------------------------------------------------------- -### Config settings. - -## This host isn't a router. -setconf(forward, 0) - -## This host is involved in a routing asymmetry. -setconf(rp_filter, 0) -setconf(log_martians, 0) - -###-------------------------------------------------------------------------- ### ibanez-specific rules. -m4_divert(84)m4_dnl +m4_divert(86)m4_dnl ## Externally visible services. allowservices inbound tcp \ ssh \ ident +allowservices inbound udp \ + udpkey ## We have to provide NTP service. The guests sync to our clock. ntpclient inbound $ntp_servers +## Provide NTP service to untrusted clients. +run ip46tables -A inbound-untrusted -p udp -j ACCEPT \ + --source-port 123 --destination-port 123 + m4_divert(-1) ###----- That's all, folks --------------------------------------------------