diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index b755676..7d5d4c9 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -110,6 +110,11 @@ if [[ "$EXTIF" == "auto" ]]; then display_c YELLOW "Found default interface at: ${BLUE}${EXTIF}${DEFAULT_COLOR}" fi +if [[ "$EXTIP" == "auto" ]]; then + EXTIP=$EXTIP_FIND + display_c YELLOW "Found default interface IP at: ${BLUE}${EXTIP}${DEFAULT_COLOR}" +fi + iptables_rules_flush ipv4 if [ -s "$BASEDIR/include/ipv4_custom_flush" ]; then