From 79bfadccf36138b77df85621ae02ccbb39f45f8c Mon Sep 17 00:00:00 2001 From: Silvino Date: Mon, 29 Jul 2019 17:15:48 +0100 Subject: ipt-client and ipt-firewall update --- core/conf/iptables/ipt-firewall.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/conf/iptables/ipt-firewall.sh') diff --git a/core/conf/iptables/ipt-firewall.sh b/core/conf/iptables/ipt-firewall.sh index 12c3834..086b864 100644 --- a/core/conf/iptables/ipt-firewall.sh +++ b/core/conf/iptables/ipt-firewall.sh @@ -18,6 +18,7 @@ ipt_clear () { iptables -N srv_dhcp iptables -N srv_rip iptables -N srv_icmp + iptables -N srv_ntp iptables -N srv_dns_in iptables -N srv_dns_out iptables -N srv_http_in @@ -251,6 +252,11 @@ ipt_tables () { ####### ICMP Server $IPT -A srv_icmp -p icmp -j ACCEPT $IPT -A srv_icmp -j RETURN + + ####### NTP Client and Server + $IPT -A srv_ntp -p udp --sport 123 --dport 123 -j ACCEPT + $IPT -A srv_ntp -j RETURN + } -- cgit 1.4.1-2-gfad0