My solution to prevent sending syslog messages to untrusted remote host for ZTE's 4G modems.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|/bin/netstat -rn | grep ^18.104.22.168 > /dev/null|
|if [[ $? -eq 1 ]] ; then /bin/iproute add 22.214.171.124/32 dev usb0; fi|