Add code for detecting default external interface
parent
85cbb19f95
commit
d06561ac98
|
@ -107,7 +107,7 @@ fi
|
||||||
|
|
||||||
if [[ "$EXTIF" == "auto" ]]; then
|
if [[ "$EXTIF" == "auto" ]]; then
|
||||||
EXTIF=$EXTIF_FIND
|
EXTIF=$EXTIF_FIND
|
||||||
display_c YELLOW "Found default interface at: ${EXTIF}"
|
display_c YELLOW "Found default interface at: ${BLUE}${EXTIF}${DEFAULT_COLOR}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
iptables_rules_flush ipv4
|
iptables_rules_flush ipv4
|
||||||
|
|
Loading…
Reference in New Issue