Best way to force net/pptpclient to stay connected?
Aryeh Friedman
aryeh.friedman at gmail.com
Sun Aug 2 18:49:35 UTC 2020
My hosting company is worse than useless after repeated attempts to make my
VPN connection to them never timeout/disconnect it does so randomly after a
few hours of being connected. After a fair amount of research I have been
able to length this from a few mins to a few hours but I am out of ideas
now and short of writing reset on no ping shell script or the equiv and
having it run all the time is there any other tricks I can try. Here is
my /etc/ppp.conf:
default:
set log phase chat lcp ipcp ccp tun command
set authname XXX
set authkey XXX
set timeout 0
set mppe 128
add 10.31.10.0/24 HISADDR
enable lqr echo
# set lqrperiod 45
set ifaddr 0 0
nat enable yes
Here is command line I use to invoke it:
/usr/local/sbin/pptp --nobuffer --loglevel 2 [vpn server IP goes here] &
--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
More information about the freebsd-questions
mailing list