Update iptables.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 03:27:11 -05:00 committed by GitHub
parent 9cd9974efa
commit d13d9d2080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ done
###
DEBUG=true
DEFAULT_GATEWAY=$(ip -4 route list 0/0 | cut -d ' ' -f 3)
# split comma seperated string into list from LAN_NETWORK env variable
IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"