Coder Social home page Coder Social logo

dulcan1988 / golocproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jijinggang/golocproxy

0.0 1.0 0.0 20.75 MB

轻量级超强反向代理软件,用go语言开发,通过公共可知的服务器端口代理,把局域网内任何主机的本地服务发布给局域网外的用户,可用来跨越各种防火墙。

Go 94.68% Batchfile 5.32%

golocproxy's Introduction

golocproxy

轻量级超强反向代理软件,用go语言开发,通过公共可知的服务器端口进行代理,把局域网内任何主机的本地服务发布给局域网外的用户,可用来跨越各种防火墙。

Usage

例如如下场景:

  1. 局域网内的主机A(192.168.1.2)上开启http服务
  2. 外部网络的主机B希望访问A的服务。由于A被防火墙保护,局域网外的主机完全无法访问A

使用golocproxy可实现这一要求

  1. 找一台A和B都能访问的内网或公网服务器P(61.1.1.1),在其上启动golocproxy服务程序 ./server -p 8009 -up 8010 -pwd mypassword
  2. 在A上启动golocproxy客户程序 ./client -l 127.0.0.1:80 -r 61.1.1.1:8009 -pwd mypassword
  3. 外部的任何主机直接通过http://61.1.1.1:8010即可访问A的http服务

Download

https://github.com/jijinggang/golocproxy/blob/master/bin/golocproxy.zip?raw=true

golocproxy's People

Contributors

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