Git Product home page Git Product logo

daze's Introduction

What's Daze?

Daze is a tool to help you link to the Internet.

Usage

go get -u -v github.com/mohanson/daze/cmd/daze

# server port
# you need a linux machine that can access the Internet, and enter the following command:
daze server -l 0.0.0.0:51958

# client port
# use the following command to link your server:
daze client -s $SERVER:51958 -l 127.0.0.1:51959
# now, you are free to visit Internet
daze cmd curl https://google.com

For browser, Firefox, Chrome or Edge e.g.

Daze forces any TCP connection to follow through proxy like SOCKS4, SOCKS5 or HTTP(S) proxy. It can be simply used in browser, take Firefox as an example: Open Connection Settings -> Manual proxy configuration -> SOCKS Host=127.0.0.1 and Port=51959.

For android

Daze can work well on Windows, Linux and macOS. In additional, it can also work on Android, just it will be a bit complicated.

  1. Download SDK Platform Tools and make sure you can use adb normally.
  2. Connect your phone to your computer with USB. Use adb devices to list devices.
  3. Cross compile daze for android: GOOS=linux GOARCH=arm go build -o daze github.com/mohanson/daze/cmd/daze
  4. Push binary and open shell: adb push daze /data/local/tmp/daze, adb shell
  5. Open daze client: cd /data/local/tmp && chmod +x daze && daze client -s $SERVER:51958 -l 127.0.0.1:51959. Attention, you may wish use setsid to run daze in a new session.
  6. Set the proxy for phone: WLAN -> Settings -> Proxy -> Fill in 127.0.0.1:51959
  7. Now, you are free to visit Internet.

daze's People

Contributors

mohanson avatar

Watchers

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