computer Tricks

  • Home
  • XPLORE
    • FACTS
    • TRICKS
    • TRAININGS
    • C PROGRAMMING
    • HOW
    • HOT/SHORT KEYS
    • WINDOWS 7
    • WINDOWS 8
  • SOCIAL MEDIA
    • FACEBOOK
      • Brajrajnagar Post Office
      • Brajrajnagar Police
      • Brajrajnagar Railway
      • Movies Updated
      • Ranjit Mirig
      • G Shyam Xplored Wisdom
    • YOUTUBE
    • GOOGLE PLUS
    • INSTAGRAM
    • TWITTER
    • LINKED IN
    • PINTEREST
    • SOUNDCLOUD
    • MYSPACE
    • TUMBLR
  • MY BLOGS
    • RANJIT MIRIG
    • COMPUTER TRICKS
    • JOKES
    • HEALTHY LIFESTYLE
    • KOSAL STATE
    • DIARY OF SHAYARI
    • TRICKS
    • SOFTWARES ALL YOU NEED
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Tuesday, 12 August 2014

VPN Dropouts, stop leaks with an easy script

 August 12, 2014     FACTS     No comments   

VPN Dropouts, stop leaks with an easy script

If you have a vpn running then you will know that if the line between you and your vpn provider drops, then your internet continues on. This leads to your isp knowing what your doing or most importantly you are not secure wirelessly. This script on the internet works by allowing no internet traffic at all unless through vpn and is will also disconect you. I suggest you take off auto connect.

1- Create a file called vpnscript (or anything else) in /etc/NetworkManager/dispatcher.d/

2-copy/paste the following into that script

#!/bin/sh
# use tail - /var/log/syslog in terminal to check if it is executed the four lines help you spot easily

logger -s XXXXXXXXXX
logger -s $1
logger -s $2
logger -s XXXXXXXXXX

if [ $2 = "vpn-down" ]
then
# Shut down eth0 when vpn fails (change eth0 to your nic)
ifconfig eth0 down
# this will turn off your wireless networking completely
# ip link set wlan0 down
fi

3- in a terminal run chmod 755 vpnscript
Like & Share (G.Shyam)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • How to remove virus from your system using command prompt, and without anti virus?
    How to remove virus from your system using command prompt, and without anti virus? Go to start -> type cmd -> once your command pro...
  • How to use a Usb Modem/3g Dongle with Any Sim
    How to use a Usb Modem/3g Dongle with Any Sim | No unlocking Guyzz this is very easy trick just follow these simple steps: 1.) Insert Sim...

Recent Posts

Categories

C PROGRAMMING (40) FACEBOOK (9) FACTS (29) HOW (20) SHORT/HOT KEYS (6) TRAININGS (13) TRICKS (28) WINDOWS 7 (2) WINDOWS 8 (2)

Pages

  • Home

Blog Archive

  • ►  2018 (94)
    • ►  June (42)
    • ►  May (52)
  • ►  2017 (2)
    • ►  January (2)
  • ▼  2014 (52)
    • ►  November (6)
    • ▼  August (17)
      • Increase Your Internet Speed
      • Lock Desktop Icons
      • Airtel 101% working in Mozilla
      • FOUNDERS (Computer Technologies):-
      • Tips To Make Your Old PC Or Laptop New!
      • Now, You can Convert all you Small Size Storage De...
      • VPN Dropouts, stop leaks with an easy script
      • Google Dorks explanation
      • After a long tym a new hack:
      • How to Detect Fake Emails
      • How to remove virus from your system using command...
      • How to use a Usb Modem/3g Dongle with Any Sim
      • How TO Post Blank Status or Comment
      • NTFS vs. FAT
      • Double click on Internet explorer to Restart the C...
      • Funny Desktop Trick
      • CHECK THE MEMORY SIZE OF GRAPHIC CARD.
    • ►  July (24)
    • ►  June (5)

What do u Want ?

Powered by Blogger.

You May Also Like

  • Healthy Life
  • Innovator Ranjit Mirig
  • jokes
  • KIPL
  • Kosal State (Samriddh Rajya)
  • shayari
  • Softwares
  • story
  • Suvichaar
  • Tricks
  • Xploring Ghanashyam

Report Abuse

Know Me

gcyam
View my complete profile

Sample Text

Copyright © computer Tricks | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates