Giter Club home page Giter Club logo

minivtun-win's Introduction

minivtun-win

The minivtun is a tiny layer 3 vpn service on posix platform. And this is a windows client for it.

No IPv6 tunnel and point-to-point mode due to limitation of driver

Installation

Install windows tap driver

site:
https://github.com/OpenVPN/tap-windows https://github.com/OpenVPN/tap-windows6

precompiled binary:

Install required development components

python 2.7
python package: ipaddress pywin32 M2Crypto

Compile and pack

python setup.py py2exe

Usage

Mini virtual tunneller in non-standard protocol.
Usage:
  minivtun [options]
Options:
  -r, --remote <ip:port>            IP:port of server to connect
  -a, --ipv4-addr <tun_lip/pfx_len> IPv4 address/prefix length pair
  -k, --keepalive <keepalive_timeo> seconds between sending keep-alive packets, default: 13
  -t, --type <encryption_type>      encryption type, default: aes_128_cbc
  -e, --key <encrypt_key>           shared password for data encryption (if this option is missing, turn off encryption)
  -d                                run as daemon process
  -h, --help                        print this help
Supported encryption types:
  rc4, des, desx, aes-256, aes-128

Examples

Client: Connect VPN to the server (assuming address vpn.abc.com), with local virtual address 10.7.0.33, encryption with password "Hello":

python tun.py -r vpn.abc.com:1414 -a 10.7.0.33/24 -e Hello 

Client: Connect VPN to the server (assuming address vpn.abc.com), with local virtual address 10.7.0.33, no encryption:

python tun.py -r vpn.abc.com:1414 -a 10.7.0.33/24 

TODO

route control

minivtun-win's People

Contributors

boytm avatar

Watchers

Atlas avatar James Cloos 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.