I Need Auto-reconnect when it drops connection

How to customize and extend your OpenVPN installation.
Post Reply
mani313
OpenVpn Newbie
Posts: 5
Joined: Sun Jan 01, 2012 7:08 am

I Need Auto-reconnect when it drops connection

Post by mani313 » Sun Jan 01, 2012 7:18 am

I've Problem that my samsung mobile disconnects its dial-up conncetion after every 30 r 45 mins.so that vpn also disconnects from its server.

I'had set up dial-up setting Auto-connect its connection when it drops, but i don't know how to set comment in vpn config file to auto-reconnect.I want that

1. My VPN should reconnect if it drops its connection from its server(must need)
2. It should not ask any password when auto-reconnection(If possible)


please anyone help me...thank you

User avatar
Mimiko
Forum Team
Posts: 1568
Joined: Wed Sep 22, 2010 3:18 am

Re: I Need Auto-reconnect when it drops connection

Post by Mimiko » Sat Jan 07, 2012 5:38 pm

Use keepalive in your config. See the manual.

mani313
OpenVpn Newbie
Posts: 5
Joined: Sun Jan 01, 2012 7:08 am

Re: I Need Auto-reconnect when it drops connection

Post by mani313 » Sun Jan 08, 2012 2:53 am

Sir, Please Give me right code for keepalive............thank you

Post Reply