mirror of
https://git.libreschool.org/paspo/brasatore.git
synced 2024-12-22 05:33:43 +00:00
NTP
This commit is contained in:
parent
1c11cc5eb0
commit
a751c0704a
@ -38,6 +38,7 @@
|
||||
"htop",
|
||||
"screen",
|
||||
"ntpdate",
|
||||
"ntp",
|
||||
"unattended-upgrades",
|
||||
"dnsmasq",
|
||||
"nginx",
|
||||
|
@ -1,5 +1,6 @@
|
||||
dhcp-range={{ dhcp_start }},{{ dhcp_end }},4h
|
||||
dhcp-option=option:router,{{ lan_ip }}
|
||||
dhcp-option=option:dns-server,{{ lan_ip }}
|
||||
dhcp-option=42,{{ lan_ip }}
|
||||
dhcp-authoritative
|
||||
log-dhcp
|
@ -13,6 +13,7 @@
|
||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 69 -j ACCEPT
|
||||
-A INPUT -i {{ lan_iface }} -p tcp -m state --state NEW -m tcp --dport 111 -j ACCEPT
|
||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 111 -j ACCEPT
|
||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 123 -j ACCEPT
|
||||
-A INPUT -i {{ lan_iface }} -p tcp -m state --state NEW -m tcp --dport 2049 -j ACCEPT
|
||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 2049 -j ACCEPT
|
||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 4047 -j ACCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user