Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #49310

Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today

From Bob J Jones <bobjjones@startMail.com>
Newsgroups alt.os.linux
Subject Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today
Date 2018-05-27 23:34 +0000
Organization A patient noiseless Spider
Message-ID <peffai$dvn$1@gioia.aioe.org> (permalink)
References <ped5e9$oke$1@gioia.aioe.org>

Show all headers | View raw


In <news:ped5e9$oke$1@gioia.aioe.org>, Bob J Jones
<bobjjones@startMail.com> wrote:

> There is a search going on today for the Marek Novotny Linux scripts for
> VPN drop protection on the Windows 10 newsgroup today:

SOLVED!
I ended up spending a few hours today solving the original problem.

I, like Marek, always give back to the team, so I posted the solution here:
<https://groups.google.com/d/msg/microsoft.public.windowsxp.general/56KgMK6n090/xdRDoSKFAQAJ>

There were more than a half-dozen solutions in the original thread:
<http://www.pcbanter.net/showthread.php?t=1104224> 
the first two of which failed miserably, but the third solution worked
fine, which was a DOS (not Bash!) batch script, which basically disables
the gateway (default being 192.168.1.1) when you're on VPN.

That way, if the VPN drops, there's no network until you re-enable the
gateway. 

a. You run the vpnkill.bat script and press 1 to disable the gateway
b. If the VPN drops, nothing happens since the gateway is disabled
c. When you want to get back on the gateway, you press 2

The DOS script worked as well as Marek's Bash script did on Ubuntu.
I tested it on three different public VPN services to be sure.

What that means, in summary, that Marek Novotny's Bash shell scripts work
fine for Ubuntu to kill the network when the vpn drops, and this
vpnkill.bat DOS shell script does the same thing for Windows (in a
completely different way). 

Marek's method was to constantly and quickly (he spent a LOT of time
improving the speed!) test the network and then quickly kill a given list
of processes by name if the VPN dropped.

This new DOS batch method seems simpler, where it simply disables the
normal gateway (192.168.1.1) while VPN is running. 

The source DOS batch file is located here for reference purposes.
<https://www.liquidvpn.com/billing/dl.php?type=d&id=49>
-- 
Note this has nothing to do with DNS leaks - which is a different topic.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Bob J Jones <bobjjones@startMail.com> - 2018-05-27 02:33 +0000
  Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-26 20:00 -0700
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today G B <gb@gb.com> - 2018-05-26 23:15 -0400
      Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-26 20:24 -0700
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Melzzzzz <Melzzzzz@zzzzz.com> - 2018-05-27 03:41 +0000
          Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-26 20:56 -0700
            Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Melzzzzz <Melzzzzz@zzzzz.com> - 2018-05-27 04:23 +0000
              Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-27 09:12 -0700
  Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Aragorn <thorongil@telenet.be> - 2018-05-27 13:34 +0200
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today "Carlos E.R." <robin_listas@es.invalid> - 2018-05-27 13:43 +0200
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Steve Carroll <frelwizzen@gmail.com> - 2018-05-27 04:44 -0700
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-27 06:56 -0700
      Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Jamson Yang <JamsonYang@invoice.com> - 2018-05-27 16:41 +0000
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today G B <gb@gb.com> - 2018-05-27 12:59 -0400
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Aragorn <thorongil@telenet.be> - 2018-05-27 19:05 +0200
          Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today William Poaster <wp@dev.null> - 2018-05-28 11:22 +0100
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Bob J Jones <bobjjones@startMail.com> - 2018-05-27 16:34 +0000
      Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Steve Carroll <frelwizzen@gmail.com> - 2018-05-27 10:13 -0700
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Dan C <youmustbejoking@lan.invalid> - 2018-05-27 16:54 +0000
  Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Bob J Jones <bobjjones@startMail.com> - 2018-05-27 23:34 +0000
    Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-27 17:51 -0700
      Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Dan Purgert <dan@djph.net> - 2018-05-28 09:35 +0000
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Steve Carroll <frelwizzen@gmail.com> - 2018-05-28 03:33 -0700
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Steve Carroll <frelwizzen@gmail.com> - 2018-05-28 07:13 -0700
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Snit <usenet@gallopinginsanity.com> - 2018-05-28 09:31 -0700
          Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Fuck You Snit <frelwizzen@gmail.com> - 2018-05-30 18:46 -0700
            Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Fuck You Snit <frelwizzen@gmail.com> - 2018-05-31 06:46 -0700
          Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Fuck You Snit <frelwizzen@gmail.com> - 2018-05-30 21:55 -0700
        Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Bob J Jones <bobjjones@startMail.com> - 2018-05-29 00:25 +0000
          Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today Fuck You Snit <frelwizzen@gmail.com> - 2018-05-31 05:28 -0700

csiph-web