I have configured a client vpn connection on Ubuntu setting persist and maxfail 0 inside /etc/ppp/peers/myvpn fileWhen the vpn server goes down, an ever increasing number of pptp processes start to pile up until they exhaust the ttys.The pppd man page says:persistDo not exit after a connection is terminated; instead try to reopen  the connection. The maxfail option still has an effect                on persistent connections.andmaxfail n                Terminate after n consecutive failed connection attempts.  A value of 0 means no limit.  The default value is 10.I thought that by setting persist and maxfail it would retry indefinitely, which it does, but it keeps botched processes alive.How should I configure my vpn connection so that it keeps retrying indefinitely?My ppp peer config file looks like this:pty pptp ***.***.***.*** --nolaunchpppdlocknoauthnobsdcompnodeflatename XXXXXremotename XXXXXipparam xxxxxrequire-mppe-128require-mppe-40refuse-eaprefuse-paprefuse-chaprefuse-mschapmaxfail 0persist
How to configure vpn ppp client connection with indefinite retries?
ubuntu;vpn;ppp;pptp;pppd