[4590] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: telnet kicks me out after 15 minutes.

daemon@ATHENA.MIT.EDU (Jos Vos)
Mon Sep 30 11:44:29 1996

From: Jos Vos <jos@xos.nl>
To: honza@ied.com
Date: 	Mon, 30 Sep 1996 11:53:52 +0100 (MET)
Cc: linux-net@vger.rutgers.edu, masq@indyramp.com
In-Reply-To: <Pine.LNX.3.95.960927182047.12416i-100000@ann.ied.com> from "Jan Vicherek" at Sep 27, 96 09:14:33 pm

>   causes me to be kicked out after 15 minutes of inactivity.
> 
>  actually, the "remote host closed connection" appears after either :
>    I press a key after 15 minutes of inactivity
>  OR
>    about 1 hour expires -- I don't have to touch anything.
> 
>  This does not happen when telnetting to these machines from the
> masqueradING host.

This is due to the masquerading timeout values.  Use "ipfwadm -M -s ..."
to specify large values, for example:

	ipfwadm -M -s 7200 0 0

This will make the normal TCP timeout value 2 hours i.s.o. 15 minutes.
See the ipfwadm(8) manual page for more details.
This applies to Linux 2.0.x, ipfwadm 2.3.0.

-- 
--    Jos Vos <jos@xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

home help back first fref pref prev next nref lref last post