Community discussions

MikroTik App

Search found 2 matches

by thedoble
Mon Apr 11, 2016 10:23 am
Forum: Scripting
Topic: Error when trying to clear firewall connections
Replies: 13
Views: 3950

Re: Error when trying to clear firewall connections

Try setting the TCP Established time to 5 minutes. If the socket is in use, I think it stays open? Sorry, I'm not sure what the result of this would be? Could you explain a bit more? You could also just turn off connection tracking to clear the connections, and then turn it back on. /ip firewall co...
by thedoble
Thu Apr 07, 2016 2:39 am
Forum: Scripting
Topic: Error when trying to clear firewall connections
Replies: 13
Views: 3950

Error when trying to clear firewall connections

Hi folks I've written a script to clear firewall connections. It works fine but occasionally it will error out with the following: no such item (4) I think this is due to the way RouterOS is processing the connection list. The script is as follows: :local ConnectionList [/ ip firewall connection fin...