1
0
mirror of https://git.libreschool.org/paspo/brasatore.git synced 2024-11-21 21:58:44 +00:00
This commit is contained in:
Paolo Asperti 2023-10-27 12:34:26 +02:00
parent 1c11cc5eb0
commit a751c0704a
Signed by: paspo
GPG Key ID: 06D46905D19D5182
3 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@
"htop", "htop",
"screen", "screen",
"ntpdate", "ntpdate",
"ntp",
"unattended-upgrades", "unattended-upgrades",
"dnsmasq", "dnsmasq",
"nginx", "nginx",

View File

@ -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

View File

@ -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