Disconnect VPN connection

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
unicornpalash
OpenVpn Newbie
Posts: 7
Joined: Thu May 28, 2009 5:42 am

Disconnect VPN connection

Post by unicornpalash » Thu May 28, 2009 6:06 am

My VPN client server has huge link fluctuations problem that's way VPN client server Disconnect now & then. I found some retry option link --connect-retry n --connect-timeout n --connect-retry-max n keepalive 10 120. What will be the best solution for me?

unicornpalash
OpenVpn Newbie
Posts: 7
Joined: Thu May 28, 2009 5:42 am

Re: Disconnect VPN connection

Post by unicornpalash » Thu May 28, 2009 6:07 am

Here i must mention that I’m using openvpn

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: Disconnect VPN connection

Post by ecrist » Fri Jun 05, 2009 7:26 pm

We would be better able to help you out if you could provide more specifics of the problem. I'm not exactly sure what you mean when you talk about huge link fluctuations.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

unicornpalash
OpenVpn Newbie
Posts: 7
Joined: Thu May 28, 2009 5:42 am

Re: Disconnect VPN connection

Post by unicornpalash » Tue Jun 23, 2009 3:39 am

Thnx for ur reply. I just want to say that my client VPN Public connection is not stable that’s I called link fluctuations. Client VPN Public link (IP) goes down 10+ times per day, that’s why VPN goes down every time. But when the Public link up, client VPN remain down. I think the problem with VPN retry related issue. Client configuration is as follows, did I miss any thing?

tls-client
local a.a.a.a
port 1194
dev tap0
proto udp
remote b.b.b.b 1194
resolv-retry infinite
keepalive 10 120
;nobind
user nobody
group nobody
persist-key
persist-tun
;ping 10
;ping-restart 10
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/client3.crt
key /etc/openvpn/keys/client3.key
verb 3

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: Disconnect VPN connection

Post by Douglas » Tue Jul 07, 2009 1:06 am

unicornpalash wrote:Thnx for ur reply. I just want to say that my client VPN Public connection is not stable that’s I called link fluctuations. Client VPN Public link (IP) goes down 10+ times per day, that’s why VPN goes down every time. But when the Public link up, client VPN remain down. I think the problem with VPN retry related issue. Client configuration is as follows, did I miss any thing?

tls-client
local a.a.a.a
port 1194
dev tap0
proto udp
remote b.b.b.b 1194
resolv-retry infinite
keepalive 10 120
;nobind
user nobody
group nobody
persist-key
persist-tun
;ping 10
;ping-restart 10
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/client3.crt
key /etc/openvpn/keys/client3.key
verb 3
Can you paste server logs and is there any packet loss between the client and the actual server?

unicornpalash
OpenVpn Newbie
Posts: 7
Joined: Thu May 28, 2009 5:42 am

Re: Disconnect VPN connection

Post by unicornpalash » Sun Jul 12, 2009 6:38 am

No loss between client & server.

Post Reply