1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Don't load legacy modules

This commit is contained in:
Jerry Vonau 2021-04-12 00:00:50 -05:00
parent dcd7a043a9
commit a32539ae81

View file

@ -86,14 +86,6 @@ elif [ "$ports_externally_visible" -lt 0 ] || [ "$ports_externally_visible" -gt
exit 1 exit 1
fi fi
#if [ "$wan" != "none" ] && [ "$network_mode" != "Appliance" ]; then
# Load iptables kernel modules
/sbin/modprobe ip_tables
/sbin/modprobe iptable_filter
/sbin/modprobe ip_conntrack
/sbin/modprobe iptable_nat
#fi
# Delete all existing firewall rules # Delete all existing firewall rules
$IPTABLES -F $IPTABLES -F
$IPTABLES -t nat -F $IPTABLES -t nat -F