[pptp-server] Re: Telnet or SSH over Pptp - VPN, Timed Out!!!

Philip Van Baren phil at vibrationresearch.com
Fri Oct 6 09:39:41 CDT 2000


One thing to consider is if this timeout is due to one of the machines going
through a masqueraded connection.  You can set the MASQ connection timeouts
using the ipchains command:

       # Set the timeouts for (TCP sessions) (TCP after FIN) (UDP)
       ipchains -M -S 1800 120 300

Also, you can set your shell up to periodically generate traffic even if no
other activity is happening.  To do this for csh, add the following to your
.cshrc file (also works for tcsh):

	# Force csh to send something once every 10 minutes so the TCP/IP
	# connection does not get cut off.
	alias keepalive 'echo;sched +0:10 keepalive'
	keepalive

This will generate a little network traffic every 10 minutes when you have a
command prompt.  (it redraws the command problem line)




More information about the pptp-server mailing list