GithubHelp home page GithubHelp logo

gohttptun's Introduction

go http tunnel

###此代码已废弃,请使https://github.com/ginuerzh/gost

用go语言实现的基于http协议的tunnel,主要用于绕过http代理。 一般公司都会通过代理服务器连接外网,而代理服务器同时也会限制网络访问。 如果你有一台外网主机(例如VPS)没有被代理服务器封掉,那么你就可以利用此程序来访问受限网站。

基本用法:

默认此程序运行为服务器端, 监听端口为8888.

$ gohttptun -L 8888

使用-c选项则作为客户端运行, -L设置本地监听端口,-S设置服务器地址

$ gohttptun -c -L 8080 -S your.server.com:8888

如果处在http代理的后面,可以通过-P设置代理服务器(客户端,服务端均可设置代理)

$ gohttptun -c -L 8080 -S your.server.com:8888 -P your.proxy.com:8000

-b可以用来设置读取缓存大小,默认为8192 Bytes, 服务器端可以设大一点。

接下来就可以畅通无阻的访问网络了!

gohttptun's People

Contributors

ginuerzh avatar

Stargazers

masx200 avatar  avatar ACoder avatar Zhang Lin avatar  avatar mrmuxl avatar  avatar oBlank avatar CatXiao avatar Ted Wu avatar Quinn Slack avatar huansinho avatar Ash Wu avatar tomasilv avatar changkong avatar

Watchers

YANJIN avatar ACoder avatar  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.