mirror of
https://git.libreschool.org/paspo/brasatore.git
synced 2025-11-05 12:56:56 +00:00
NTP
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
"htop",
|
"htop",
|
||||||
"screen",
|
"screen",
|
||||||
"ntpdate",
|
"ntpdate",
|
||||||
|
"ntp",
|
||||||
"unattended-upgrades",
|
"unattended-upgrades",
|
||||||
"dnsmasq",
|
"dnsmasq",
|
||||||
"nginx",
|
"nginx",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
dhcp-range={{ dhcp_start }},{{ dhcp_end }},4h
|
dhcp-range={{ dhcp_start }},{{ dhcp_end }},4h
|
||||||
dhcp-option=option:router,{{ lan_ip }}
|
dhcp-option=option:router,{{ lan_ip }}
|
||||||
dhcp-option=option:dns-server,{{ lan_ip }}
|
dhcp-option=option:dns-server,{{ lan_ip }}
|
||||||
|
dhcp-option=42,{{ lan_ip }}
|
||||||
dhcp-authoritative
|
dhcp-authoritative
|
||||||
log-dhcp
|
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 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 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 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 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 2049 -j ACCEPT
|
||||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 4047 -j ACCEPT
|
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 4047 -j ACCEPT
|
||||||
|
|||||||
Reference in New Issue
Block a user