Git Product home page Git Product logo

rock3tman's Introduction

Kali VPN of DOOM

Quick script to set up VPN server and reverse VPN for Nethunter

Usage

Usage: ./doom.sh [-arg]

 _  __       _  _  __      __ _____   _   _           __   _____    ____    ____   __  __  
 | |/ /      | |(_) \ \    / /|  __ \ | \ | |         / _| |  __ \  / __ \  / __ \ |  \/  |
 | ^ /  __ _ | | _   \ \  / / | |__) ||  \| |   ___  | |_  | |  | || |  | || |  | || \  / |
 |  <  / _` || || |   \ \/ /  |  ___/ | . ` |  / _ \ |  _| | |  | || |  | || |  | || |\/| |
 | . \| (_| || || |    \  /   | |     | |\  | | (_) || |   | |__| || |__| || |__| || |  | |
 |_|\_\\__,_||_||_|     \/    |_|     |_| \_|  \___/ |_|   |_____/  \____/  \____/ |_|  |_|


Don't forget to edit variables in ./doom.sh!

-s, --server     : Build a OpenVPN Server with client ovpn
-c, --client     : Build a client OVPN file only
-r, --reverse    : Set up your routes/iptables for reverse VPN on server
-f, --flush      : Flush your IPTables
-n, --nethunter  : Set up iptables for Nethunter Reverse VPN
-h, --help       : Help Menu (this)
--start-server   : Start OpenVPN server

Instructions

cd ~
wget https://raw.githubusercontent.com/binkybear/rock3tman/master/doom.sh
chmod +x doom.sh
# Edit doom.sh with either nano/vi/leafpad/etc
./doom.sh

Server Side

Before starting, make sure to set up variables in script. Using a publicly routable server (e.g. VPS), set up the VPN server:

./doom.sh -s

After OpenVPN is installed you can run the server with:

./doom.sh --start-server

This will set up your iptables/routes and start OpenVPN.

Nethunter Side

Download and install OpenVPN client for Android. You can get from either Google Play store or Fdroid:

https://f-droid.org/repository/browse/?fdid=de.blinkt.openvpn or https://play.google.com/store/apps/details?id=de.blinkt.openvpn&hl=en

Get ovpn file off the server and download it to your phone/tablet. Inside application add the ovpn file and connect.

For additional routing inside kali chroot:

Download script using instructions above.

./doom.sh --nethunter 

TODO

Fix routing! Right now it can only see private IP of client (not subnet).

rock3tman's People

Contributors

binkybear 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.