[SOLVED] ssh connection between internal networks dropped after 30-60 seconds

Started by mfalkvidd, April 08, 2022, 01:44:30 PM

Previous topic - Next topic
Quote from: pmhausen on April 08, 2022, 06:11:01 PM
A case of asymmetric routing, possibly?

Brilliant!  Thanks a million.  I've been fighting this problem for months.  No issue when remote, but internally, my sessions expire quickly.  Low and behold my system has multiple interfaces, and only one of which listens for ssh.  Looks like its time to do some more network tweaking!

Quote from: pmhausen on April 08, 2022, 06:11:01 PM
A case of asymmetric routing, possibly?

I have also found this to be a problem with other protocols. In particular IMAP and SUBMISSION when I had those services running on a DMZ network with a server that had a NIC on both LANs.

In my case the session dropped at 64K bytes rather than an elapsed time, but I presume this too is related to asymmetric state tracking - or lack thereof.

It's a very subtle problem and hard to solve, so someone should give pmhausen's quote some stars or pin it or something so it stays fresh in our minds.