On Sat, Jun 18, 2016 at 8:04 AM, Larry Martell <larry.mart...@gmail.com>
wrote:

> On Fri, Jun 17, 2016 at 8:55 PM, Selva Nair <selva.n...@gmail.com> wrote:
> >
> > On Fri, Jun 17, 2016 at 6:06 PM, Larry Martell <larry.mart...@gmail.com>
> > wrote:
> >>
> >> I connect to a VPN server that sends this message:
> >>
> >> PUSH: Received control message: 'PUSH_REPLY,route 0.0.0.0
> >> 255.255.255.255 net_gateway,dhcp-option DNS
> >> 192.168.10.254,route-gateway dhcp,ping 15,ping-restart 60'
> >>
> >> Is there a way for the VPN client to ignore this so it does not
> >> restart the connection if no ping is received every 60 seconds?
> >
> >
> > On the latest git-master version, you can ignore the pushed ping-restart
> > using
> >
> > --pull-filter ignore ping-restart
> >
> > Then the default value of ping-restart or any value specified in the
> client
> > config will get used.
>
> I am on a mac, and I use tunnleblick, which invokes openVPN. I don't
> know if I can get tunnelblick to call it with that option. Is there
> way to make that the default?


Editing the configuration is easy (consult the tunnelblick docs) , but the
version of openvpn included in tunnelblick may not be recent enough to
support --pull-filter. This is a very recently added option.

As I mentioned earlier, its very unlikely that removing ping-restart will
fix the reconnection that you see. If no pings are received for 60 seconds,
the connection must be dead anyway. Assuming the server is set up to do
ping-restart, even if you remove ping-restart from the client, the server
will still initiate a reconnection if it doesn't get any ping from the
client.

Selva
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to