@@ -27,6 +27,9 if [ "$ENABLE_IPTABLES" = true ] ; then | |||||
27 | chroot_exec systemctl enable iptables.service |
|
27 | chroot_exec systemctl enable iptables.service | |
28 |
|
28 | |||
29 | if [ "$ENABLE_IPV6" = true ] ; then |
|
29 | if [ "$ENABLE_IPV6" = true ] ; then | |
|
30 | # make sure ip6tables-legacy is the used alternatives | |||
|
31 | chroot_exec update-alternatives --verbose --set ip6tables /usr/sbin/ip6tables-legacy | |||
|
32 | ||||
30 | # Install ip6tables systemd service |
|
33 | # Install ip6tables systemd service | |
31 | install_readonly files/iptables/ip6tables.service "${ETC_DIR}/systemd/system/ip6tables.service" |
|
34 | install_readonly files/iptables/ip6tables.service "${ETC_DIR}/systemd/system/ip6tables.service" | |
32 |
|
35 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant