mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 10:34:57 +00:00
Update iptables.sh
This commit is contained in:
parent
d27a2d1092
commit
9a11dd2600
@ -51,7 +51,7 @@ for lan_network_item in "${lan_network_list[@]}"; do
|
|||||||
# strip whitespace from start and end of lan_network_item
|
# strip whitespace from start and end of lan_network_item
|
||||||
lan_network_item=$(echo "${lan_network_item}" | sed -e 's~^[ \t]*~~;s~[ \t]*$~~')
|
lan_network_item=$(echo "${lan_network_item}" | sed -e 's~^[ \t]*~~;s~[ \t]*$~~')
|
||||||
|
|
||||||
ip route add $lan_network_item via "${DEFAULT_GATEWAY2}" dev ${interface}
|
ip route add "${lan_network_item}" via "${DEFAULT_GATEWAY2}" dev ${interface}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user