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


Groups > alt.os.linux > #49312

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

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Snit <usenet@gallopinginsanity.com>
Newsgroups alt.os.linux
Subject Re: Marek Novotny scripts for VPN drop protection discussion on the Windows 10 newsgroup today
Date Sun, 27 May 2018 17:51:16 -0700
Lines 61
Message-ID <fn1244Faf91U1@mid.individual.net> (permalink)
References <ped5e9$oke$1@gioia.aioe.org> <peffai$dvn$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net /aRxYPCtwhQizvScdLc6DAGNSpAEU47YJnC15qa3CAKQJV/2AY
Cancel-Lock sha1:IvKs3hLeYBXcaEhtBRZzWFBcSR4=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
In-Reply-To <peffai$dvn$1@gioia.aioe.org>
Content-Language en-US
Xref csiph.com alt.os.linux:49312

Show key headers only | View raw


On 5/27/18 4:34 PM, Bob J Jones wrote:
> 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>

Thanks for testing to see if the script would work on other OSs... Marek 
talked about that quite a bit and suggested the Mac could not do this. 
If Windows can I bet it would work on macOS, too.

I never understood why he had his scripts quitting apps instead of 
having a firewall that prevents those apps from using the standard IP 
address.


-- 
Personal attacks from those who troll show their own insecurity. They 
cannot use reason to show the message to be wrong so they try to feel 
somehow superior by attacking the messenger.

They cling to their attacks and ignore the message time and time again.

<https://youtu.be/H4NW-Cqh308>

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