Hello pls pardon me for the way i write i have a firewall rule that i try using for my web-proxy to deny Porn which look like this .
/ip web-proxy access add url= http://www.0000-sex-pics.com method=any action=deny
/ip web-proxy access add url= http://www.000sex.com method=any action=deny
/ip web-proxy access add url= http://www.007absoluteadult.com method=any action=deny
/ip web-proxy access add url= http://www.007blackbooty.com method=any action=deny
/ip web-proxy access add url= http://www.007girl.com method=any action=deny
/ip web-proxy access add url= http://www.007girls.net method=any action=deny
/ip web-proxy access add url= http://www.007teens.net method=any action=deny
They are more then this, the database is 2mgbit when i try to past then the router using winbox terminal the router will discont and non will be pasted.and when i past few lines to it it work well ,Is there a way i can run is from the router console? or runing it frin the Ftp? will appriciate ur respond
That’s what loops are made for.
Put your rules in a list and let a command go throug it.
Then create a script, upload it to your box and run it.
If you add new rules to your script, don’t forget to flush your old rules before rerunning the ruleset.
Btw, how do you keep track of all the prohibited sites?
I have just tried it now but the system put does not match any value of file-name [admin@MikroTik] file> /import sexlist
input does not match any value of file-namet
i also treid this
/import file-sexlist
“sexlist” is the name of the file please can u give me the correct syntex
Thanks for ur help
thanks for all the replay i had try that i up load it into the MOT ftp but run the command but it still tells me’ input does not match any value of file-name" i use notpad to create the script ,thanks in advances
thanks for all the replay i had try that i up load it into the MOT ftp but run the command but it still tells me’ input does not match any value of file-name" i use notpad to create the script ,thanks in advances
I have done that it it show there as “sexlist.txt” i tupy in /Import sexlist.txt it did not work and i try /import sexlist it still show me the same thing
this is so freakin’ frustratring… I borked my configuration… I reset everything and now scripts won’t work AGAIN X(
there’s doesn’t say anywhere in the manual that the script has to have the extension .rsc and when you /import you have to omit the extension…