I am having problems with dropped shell connections over a VPN and I
need help diagnosing the problem.
My setup is something like this:
- My local network is a mix of AIX, HP-UX, Linux, FreeBSD and Solaris
machines running various OS versions.
- My gateway / firewall machine is running FreeBSD-8.1-RELEASE-p1
with ipfw, nat and racoon for the firewall and VPN.
- The VPN is set up in a peer-to-peer configuration.
The problem is that rlogin, ssh and telnet connections over the VPN get
dropped after some period of inactivity. This is not due to idle timeout
on the remote host. The disconnected shell is still running on the
remote host after the connection gets dropped.
The error message depends on the type of connection:
rlogin: Read error from network: Connection reset by peer
ssh: Write failed: Broken pipe
telnet: Connection to ilt1000.eur.ad.sag closed by foreign host.
Running a script to generate output every 60 seconds on the remote shell
will keep the connection up most of the time but connections do get
dropped even with the script running.
So, what I'm looking for is some way to figure out what the cause of the
disconnects is and a way to fix it. Any suggestions gladly accepted.
Paul Keusemann pkeusem@...
4266 Joppa Court (952) 894-7805
Savage, MN 55378