GithubHelp home page GithubHelp logo

connect-without-vpn's Introduction

connect-without-vpn

connect directly to a country(ip range) and use tunnel for outside of that country(ip range). for example we want to use internet directly for iran. and vpn for outside of iran(probably filtered). works with python2 in linux

Usage

python2.7 director.py [--interface INTERFACE] [-i [I]]
                   [-gw [GW]]

Arguments

  • -h, --help show this help message and exit
  • --version show program's version number and exit
  • --interface INTERFACE your desired interface that ip/masks should route in
  • -i [I] input file, each line should consist of ip/netmask , lines with # will be ignored
  • -gw [GW] default gateway of your interface

Example

my interface name is enp6s0 (find out with ifconfig) and default gateway of that interface is 192.168.1.1 (find out with route -n).

python2.7 directory.py --interface enp6s0 -i ~/temp/iran.txt -gw 192.168.1.1

TODO

  • crawl ip range of a country and add a argument for selecting a country instead of a local file
  • finding default interface
  • finding default gateway
  • adding a self learning system to route filtered ip's to tunnel and not filters ip's directly

Self learning

sniffer.py is a basic implementation of self learning patterns. which takes a different approach rather than director.py which is:

  • route every packet in default censored interface and sniff all packets, if there is a censored ip then route that in tunnel interface.
  • route dns through tunnel which solve dns censored ssl websites.

self learning pattern's :

  • 403 Forbidden in socket's data.
  • no answer. but the site might be down. should find a better approach

connect-without-vpn's People

Contributors

oalee avatar

Watchers

 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.