Giter Site home page Giter Site logo

dog-tunnel-lite's Introduction

Dog Tunnel

Introduction

This tunnel is a lite version if dog-tunnel, and actions without a middle server, has no ability of udp traversal, but simple and faster

Example

the server side should have a public ip , such as xxx.xxx.xxx.xxx, please replace it with your own ip first, start a server server: ./dtunnel_lite -v -service 127.0.0.1:1234 -dnscache 10

then start a client, you can seed the example below: socks5 example: client: ./dtunnel_lite -v -service xxx.xxx.xxx.xxx:1234 -local :8787

Then you can connect to socks5 proxy with 127.0.0.1:8787

Here is some useful scripts:

# server side dtunnel_lite

#!/bin/sh
killall -9 dtunnel_lite
sleep 2
nice -n -20 /bin/dtunnel_lite -service 0.0.0.0:18080 -auth asecuritypassword &


# client side dtunnel_lite


#!/bin/sh
killall -9 dtunnel_lite
dtunnel_lite -service this.is.your.serverip:18080 -local :8070 -auth asecuritypassword &

ssh port forward example: client: ./dtunnel_lite -v -service 127.0.0.1:1234 -local :8787 -action :22

It's better to add the -encrypt arg for privacy in client you can add "-auth" on both sides for authorize

The default mode is udp mode, and is faster in the poor network than tcp mode, you can also use tcp mode with "-tcp" on both sides.

License

MIT License

Credits

欢迎使用支付宝对该项目进行捐赠

author: [email protected]

dog-tunnel-lite's People

Contributors

tavenli avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dog-tunnel-lite's Issues

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.