[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] connection timeout


  • Subject: Re: [Openvpn-users] connection timeout
  • From: "James Yonan" <jim@xxxxxxxx>
  • Date: Mon, 15 Apr 2002 10:19:58 -0600

> ok, I could to send something every minute to maintain active the
> connection?
> for example a ping in crontab?

You could do that, but the most efficient way would be with a firewall entry
such as:

iptables -A INPUT -p udp -s 1.2.3.4 --dport 8000 -j ACCEPT

Where you change 1.2.3.4 to the addr of the remote peer and 8000 to the UDP
port number you are using.

You could also use --reneg-sec n, where n is a lower number such as 900 or
1800 -- that would force packets over the connection every n seconds and
keep the firewall entry alive.

James



_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users