Answer the question
In order to leave comments, you need to log in
Why doesn't IDLE Timeout work in RouterOS?
Colleagues, please tell me:
RouterOS has an IDLE Timeout parameter in the PPP profile properties, the problem is that the inactivity time is constantly reset by protocols like WSD and UPNP that crap in the tunnel.
Is it possible to somehow configure RouterOS so that it does not consider this traffic a condition for resetting the inactivity time?
Answer the question
In order to leave comments, you need to log in
:local a 0
/ip fi ma add chain=prerouting action=accept src-address=$"remote-address" protocol=tcp dst-port=3389,445 comment=$"user"
while ($a!=60) do ={
:local j [ip fi ma get [find comment=$user] packets]
:delay 10
:local k [ip fi ma get [find comment=$user] packets]
if ($j=$k) do {: set a (a+1)}
if ($j!=$k) do {:set a 0}
}
/ppp secrets disable [find name=$user]
/ppp active remove [find name=$user]
:delay 20
/ppp secrets enable [find name=$user]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question