eric clover <[EMAIL PROTECTED]> wrote:
>hello again,
>I have what I hope to be a simple question that can be simply answered. we
>here have a small LAN , with ipmasq running , but one small thing is really
>getting to be a pain in the butt.for some reason , there is some kind of
>idle timeout on the server that we are all hooked up into that will close a
>connection that has been idle for (I guess to say) 600 seconds. is there
>hopefully a simple way to turn this idle timeout off??
I don't think you can turn it off, but you can set the time higher:
For ipfwadm (2.0.x kernels):
# Set masquerade timeout values (in seconds) for tcp, tcpfin & udp.
# Low values cause inactive masquerade connections to be terminated.
ipfwadm -M -s 7200 120 7200
For ipchains (2.2.x kernels):
# Set masquerade timeout values (in seconds) for tcp, tcpfin & udp.
# Low values for tcp & udp cause inactive masquerade connections
# to be terminated. (Ouch!)
ipchains -MS 7200 120 120
It's probably the first value (tcp) and probably 3rd (udp) values that are
causing you the most trouble. I'd leave the second value (tcpfin) low
since it deals with "closed" connections.
-Eric
Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]
Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.