On Sat, Jun 18, 2016 at 12:12 PM, Selva Nair <selva.n...@gmail.com> wrote: > > 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.
Well, I connect to 3 different VPNs at different times. For one I use Open VPN Connect, for one I use some PPTP client that is on my Mac, and for one I use Tunnleblick. It is only the one I connect to with Tunnleblick that regularly disconnects. The sysadmin for that site said I am the only one who is experiencing problems, and he has variously blamed it on: -I am running too much on my computer -I have an old version of MacOS -I have many VMs configured (even though none are running when I connect) -The old firewall/VPN appliance they have is crappy -I'm a Yankee fan and he's a Red Sox fan He has given up trying to help me, and my client is annoyed because the constant disconnects seriously effect my productivity. So I am grasping at straws and willing to try anything. ------------------------------------------------------------------------------ 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