I use web-proxy, but sometimes its goes down and this proxy that I use is not mine.
I would like to know can I have any script checking its status, when the proxy server doesn't work it turrns Off proxying or something like that.
I think I can check if it is working or no by following
Code: Select all
[admin@RT-Router] > /system telnet www.mikrotik.com 80 Trying 184.108.40.206... Connected to 220.127.116.11. Escape character is '^]'.
or something else, when the script sees Connecned to X.Y.Z.W it will not do anything, when script does not find Connected word, it does something say "Turn off port redirect"