[svlug] ssh connection reset by peer

Gary Lin glin at employees.org
Mon Jul 28 20:50:23 PDT 2003

Sorry for not being specific in the previous mail.. checkout the section 
11.3.1 in the link below.  Apparently, this timeout value is 
configurable with ipfwadm and ipchains.  If you are using iptables, you 
are out of luck because the timeout value is not configurable (which is 
a bit strange to me).  Maybe someone can provide way to work around 
this?  I would like to know it too. =)
-- Gary

Gary Lin wrote:

> Looks like your firewall is dropping the idle tcp connection. 
> Checkout: http://www.tldp.org/LDP/nag2/x-087-2-masq.configuration.html
> -- Gary
> Sampath Ganji wrote:
>> Hi,
>> I am experiencing this problem since I started working from home.
>> Server Side:
>> NAT and Firewalled as in IP Masqurading HOW-TO(eth0)
>> The internal network however is not firewalled (eth1 is trusted and 
>> no firewall)
>> Running on DSL with static IP
>> Server is for strictly for Internet sharing and Mail purposes, so it 
>> is a celeron 1GHZ with 256 Meg RAM and 40G HDD
>> Client Side:
>> Comcast Cable - Directly connected
>> Using cygwin to connect to the server and through
>> Initially I connect to the server and from there I again SSH to my 
>> machine in the LAN. I get the error connection reset by peer and 
>> connection is closed after about 20-30 minutes of inactivity. Tried 
>> "unset autologout". I think it was not the problem. I connect to the 
>> server internally(LAN 192.168.0.*) using ssh from morning to evening 
>> and it would not drop me even once.
>> Please help!
>> Thanks

More information about the svlug mailing list