From: Peter Müller Date: Sun, 30 Jan 2022 17:08:21 +0000 (+0000) Subject: firewall: Ensure the xt_geoip module is always loaded X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=816b0e08c68a63d61bb98adf0b6236b6578115d2;p=people%2Fms%2Fipfire-2.x.git firewall: Ensure the xt_geoip module is always loaded For some reason, this module is not present after the very first boot of an IPFire installation. Fixes: #12767 Reported-by: Arne Fitzenreiter Signed-off-by: Peter Müller Signed-off-by: Arne Fitzenreiter --- diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall index 7d081bbc36..f35b6b6e18 100644 --- a/src/initscripts/system/firewall +++ b/src/initscripts/system/firewall @@ -39,6 +39,9 @@ iptables_init() { iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT + # Ensure the xt_geoip module is always loaded (#12767) + modprobe xt_geoip + # Enable TRACE logging to syslog modprobe nf_log_ipv4 sysctl -q -w net.netfilter.nf_log.2=nf_log_ipv4