Re: Using SSH as a simple VPN: timeouts?
- From: Johan Lindquist <spam@xxxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 15:12:56 +0200
So anyway, it was like, 14:32 CEST Jul 13 2006, you know? Oh, and, yeah,
Jef Driesen was all like, "Dude,
Johan Lindquist wrote:
So anyway, it was like, 09:21 CEST Jul 13 2006, you know? Oh, and, yeah,
Jef Driesen was all like, "Dude,
I'm using ssh with port forwarding
[..]
This works really great, but after some time (a few hours) the ssh
connection is automatically disconnected (mostly after a period of
inactivity on the client). I assume this has to do something with
a timeout on the ssh server?
Is there a firewall, and if so what .kind, at some point in between
the two hosts? There might be timeouts for the state tables that
tears down the connection after a certain period without traffic
over it.
There are certainly two firewalls involved. The first one is my
cablemodem/router (D-Link DI-604). The second one is the firewall of
the university where my server is located. This one blocks all kinds
of traffic, but an exception was made for ssh access to my server.
I don't have much information about this firewall (and possible
timeout settings). There could be another firewall at my isp also,
because incoming connections below port 1024 are blocked.
It's not entirely improbable that the university's firewall is set up
in a manner that disconnects idle sessions. One way to get around it
is to make sure there's always some traffic, you could for instance
run 'top' or something with a decently long update interval over the
ssh connection.
--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
15:09:02 up 4 days, 22:38, 2 users, load average: 0.08, 0.02, 0.01
Linux 2.6.16.18-xen x86_64 GNU/Linux Registered Linux user #261729
.
- Follow-Ups:
- Re: Using SSH as a simple VPN: timeouts?
- From: Jesper
- Re: Using SSH as a simple VPN: timeouts?
- References:
- Using SSH as a simple VPN: timeouts?
- From: Jef Driesen
- Re: Using SSH as a simple VPN: timeouts?
- From: Johan Lindquist
- Re: Using SSH as a simple VPN: timeouts?
- From: Jef Driesen
- Using SSH as a simple VPN: timeouts?
- Prev by Date: why can't lynx save cookie to local?
- Next by Date: Re: Syncing with Pocket PC
- Previous by thread: Re: Using SSH as a simple VPN: timeouts?
- Next by thread: Re: Using SSH as a simple VPN: timeouts?
- Index(es):
Relevant Pages
|