Ok, so I want to enable/disable a certain access rule using a script which I can run in the system scheduler. Can anyone tell me what the syntax will be?
Ok so did a bit of searching and came up with this:
{ip proxy access}{print}{disable 8}
ok, so this will disable a specific (number 8 ) proxy rule.
only problem is, it works in the terminal but not if I use the script repository.
Please someone help!!
add comment to rule, for example myRule.
After that you must use find to get correct internal number.
/ip proxy access disable [ /ip proxy access find comment="myRule" ] ;
Thanks, works like a charm