Bypass route check

This commit is contained in:
Mike Reeves
2021-02-24 15:52:50 -05:00
parent bdfec5176d
commit 6058400aad
+4
View File
@@ -751,6 +751,9 @@ check_sos_appliance() {
} }
compare_main_nic_ip() { compare_main_nic_ip() {
if [[ "$MNIC" =~ tun || "$MNIC" =~ wg || "$MNIC" =~ vpn]]; then
echo "This is a VPN"
else
if [[ "$MAINIP" != "$MNIC_IP" ]]; then if [[ "$MAINIP" != "$MNIC_IP" ]]; then
read -r -d '' message <<- EOM read -r -d '' message <<- EOM
The IP being routed by Linux is not the IP address assigned to the management interface ($MNIC). The IP being routed by Linux is not the IP address assigned to the management interface ($MNIC).
@@ -760,6 +763,7 @@ compare_main_nic_ip() {
whiptail --title "Security Onion Setup" --msgbox "$message" 10 75 whiptail --title "Security Onion Setup" --msgbox "$message" 10 75
kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1 kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1
fi fi
fi
} }
compare_versions() { compare_versions() {