Community discussions

MikroTik App
 
eliast
newbie
Topic Author
Posts: 25
Joined: Sat May 27, 2006 6:31 pm
Location: Hungary

close tcp connection after specified connection time.

Thu Nov 08, 2007 7:58 am

Hy there. I wonder if the following is possible:

I want to close each and every tcp connection if they are established for more than 2 hours. I don't want to disallow users to reconnect, I only want to shut down that connection, so forcing users to reconnect. Yes I know that download managers can reconnect automatically, but in some situation this connection braking could be very annoying, and that's what I want.

Thank you for the help!
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: close tcp connection after specified connection time.

Thu Nov 08, 2007 7:46 pm

just change your tcp established timeout from the default to 2 hours.

Sam
 
eliast
newbie
Topic Author
Posts: 25
Joined: Sat May 27, 2006 6:31 pm
Location: Hungary

Re: close tcp connection after specified connection time.

Thu Nov 08, 2007 8:27 pm

Where can I find that exactlly?
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: close tcp connection after specified connection time.

Thu Nov 08, 2007 9:14 pm

using winbox;

open IP -> Firewall -> Connections -> Then click the Tracking button at the top.

Sam
 
eliast
newbie
Topic Author
Posts: 25
Joined: Sat May 27, 2006 6:31 pm
Location: Hungary

Re: close tcp connection after specified connection time.

Thu Nov 08, 2007 10:14 pm

oooo... thanx! that's sooo simple.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: close tcp connection after specified connection time.

Fri Nov 09, 2007 12:14 am

does this help?!? :shock:

Who is online

Users browsing this forum: Bing [Bot], bpwl, GoogleOther [Bot], jacobbailey, rplant and 26 guests