This is a discussion on Re: keep port alive? within the Linux Networking forums, part of the Linux Forums category; ivo welch wrote: > Unfortunately, my cable provider [comcast] seems to close open tcp/ip > ports after about a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
ivo welch wrote: > Unfortunately, my cable provider [comcast] seems to close open tcp/ip > ports after about a minute of lack of use. This is not so bad for > some ports, e.g., for httpd; but it is quite a pain for ssh, sftp, > smtp, and imap connections. Their port dropper seems to work by port, > not by host. So, even if I use ssh to the destination, the sftp link > would expire. > > Is there a program that I can run in the background (presumably as su, > since it would have to intercede in my user's port affairs), which > sends a ping-like request to any open tcp port with host x, with the > sole purpose of keeping it alive, but not to interfere with it > otherwise? > > help appreciated. > > /iaw run CIPE VPN between both boxes. The tunnel has keepalives. You can then route any IP traffic you desire to you through that tunnel. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/FcOQi6NlI+CoSzsRAmfWAJ41nd3rZErGyM1B/S7ywVKuVGCvhgCgmWWE aEgTA8A+5Bw5FG9+3HNQVqs= =l9ME -----END PGP SIGNATURE----- |
|
|||
|
"redhat_devel" <spam@spam.org> wrote in message news:s2g4fb.665.ln@leafnode.linux.adelphia.net... in /etc/ssh/sshd_config there is an option: KeepAlive yes see if this will work. dont' forget to restart the ssh process: /etc/init.d/sshd restart ken k |