hi everyone,
i'm trying to run a script on my mk box remotelly to allow forwarding from my customers and block any other connection.
actually i have a .txt file on my linux machine containing all the ip addresses that should have forwarding enabled.
using bash script I created a script containing mikrotik commands to allow internet browsing
BUT i don't know how to execute this script remotelly
i tryed to copy and paste (ctrl + c; ctrl + v) all the commands on winbox but seems that the script os bigger then the available buffer... bcause only a part of the script is pasted :-[
i also tried to do it via telnet connection
(echo admin; sleep 1; echo password; sleep 1; echo "/ip firewall filter; sleep 1; cat comandos.txt) | telnet [mk ip address]
but it's not working... :-0
does anyone have a solution for my problem?
mk 2.9.46
thanks
gabriel lauter
brazil!!!