1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

removing stale iptables rule in installer

This commit is contained in:
Steven Foerster 2022-01-30 20:45:52 -05:00
parent 4299d4d7cc
commit da38b48a6c

View File

@ -554,7 +554,6 @@ function _configure_networking() {
echo "Checking iptables rules" echo "Checking iptables rules"
rules=( rules=(
"-A POSTROUTING -j MASQUERADE" "-A POSTROUTING -j MASQUERADE"
"-A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE"
) )
for rule in "${rules[@]}"; do for rule in "${rules[@]}"; do
if grep -- "$rule" $rulesv4 > /dev/null; then if grep -- "$rule" $rulesv4 > /dev/null; then