remove check for 4222

This commit is contained in:
wh1te909
2022-07-07 16:31:01 +00:00
parent 268cfaf234
commit f3a8886b50

View File

@@ -270,15 +270,6 @@ wanip=$(dig @resolver4.opendns.com myip.opendns.com +short)
echo -ne ${GREEN} WAN IP is $wanip | tee -a checklog.log
printf >&2 "\n\n"
#Check if NATs Port is open
if ( nc -zv $wanip 4222 2>&1 >/dev/null ); then
echo -ne ${GREEN} 'NATs Port is open' | tee -a checklog.log
printf >&2 "\n\n"
else
echo -ne ${RED} 'NATs port is closed (you may want this if running locally only)' | tee -a checklog.log
printf >&2 "\n\n"
fi
#Check if HTTPs Port is open
if ( nc -zv $wanip 443 2>&1 >/dev/null ); then
echo -ne ${GREEN} 'HTTPs Port is open' | tee -a checklog.log