How to stop ping-restart every 2 min?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
elpasha009
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 22, 2010 1:46 pm

How to stop ping-restart every 2 min?

Post by elpasha009 » Wed Dec 22, 2010 2:17 pm

Hi all,
I installed my openvpn and working great.
Just it restart when it was idle after 2 min.how can i stop this.
Note that i'm using udp and i will not change it to tcp.

User avatar
gladiatr72
Forum Team
Posts: 194
Joined: Mon Dec 13, 2010 3:51 pm
Location: Lawrence, KS

Re: How to stop ping-restart every 2 min?

Post by gladiatr72 » Wed Dec 22, 2010 6:08 pm

Hello,

It sounds like you're dealing with a firewall between you and your openvpn server that is expiring your your UDP session. I've seen this with openvpn servers running on hosts that have a default deny on the system firewall--the firewall rule set are appropriately configured to service the hard line, but the virtual network deivce (tun/tap) is forgotten about. I would start out with a firewall rule set that gives a default allow profile for your virtual device--tightening up inbound access via the virtual device once you're comfortable with the tunnel configuration.

Without more information, what it sounds like is that your server is not responding to the ICMP echo packet which causes your client to bounce.

Regards,
Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole

Post Reply