Coder Social home page Coder Social logo

ind3p3nd3nt / iptables_cidr_drop Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 36 KB

This script will configure your linux firewall to block your computer from accessing some IPv4 ranges and your computer being accessed by those IPv4 ranges.

Shell 100.00%
iptables iptables-configurations iptables-firewall iptables-logs bash bash-script

iptables_cidr_drop's Introduction

---INTRODUCTION--- This script will configure your linux firewall to block your computer from accessing some IPv4 ranges and your computer being accessed by those IPv4 ranges.

---INSTALLATION---
	# git clone https://github.com/independentcod/iptables_CIDR_drop.git
	# cd iptables_CIDR_drop
	# chmod +x ./setup.sh && ./setup.sh

It's easy as that.

---IMPORTANT--- If you do not wish to block Google (because blocking Google will break viewing many websites) Simply delete first line in CIDR.txt and execute setup.sh

---TIP--- You should replace your DNS nameserver from 8.8.8.8 & 8.8.4.4 to 1.1.1.1 & 1.0.0.1 to avoid Google tracking your DNS queries. Also consider changing search engine to DuckDuckGo.com ---TRICK--- If you have a problem connecting a certain website, go to https://hackertarget.com/find-dns-host-records/ find all corresponding CIDR, delete them and re-run setup.sh.

This BASH script was made for use by beginners but could also be usefull for an expert. Don't forget that if you like this code, you should give a star back to this repo. Enjoy and thanks for using my script.

iptables_cidr_drop's People

Contributors

ind3p3nd3nt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.