Disconnect VPN connection
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu May 28, 2009 5:42 am
Disconnect VPN connection
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?
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu May 28, 2009 5:42 am
Re: Disconnect VPN connection
Here i must mention that I’m using openvpn
- ecrist
- Forum Team
- Posts: 237
- Joined: Wed Nov 26, 2008 10:33 pm
- Location: Northern Minnesota, USA
- Contact:
Re: Disconnect VPN connection
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
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu May 28, 2009 5:42 am
Re: Disconnect VPN connection
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
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
-
- Forum Team
- Posts: 285
- Joined: Wed Aug 27, 2008 2:41 am
Re: Disconnect VPN connection
Can you paste server logs and is there any packet loss between the client and the actual server?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
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu May 28, 2009 5:42 am
Re: Disconnect VPN connection
No loss between client & server.