Giter VIP home page Giter VIP logo

gofwd's Introduction

gofwd

sharing SSx via lan.

某工具,NG, 只能让本机实现自动配置上网,尝试过NG的配置,都有问题。所以写了这个小工具,来实现局域网其他机器共享 NG的服务。

1,开启一个Web服务,放置PAC自动配置文件。 2,开启一个TCP端口,将局域网其他机器的流量转发到NG的SOCK端口。

PAC文件的代理要改成NG的局域网IP地址,端口要改写成本工具的端口 7070.。

假设NG的局域网地址为 192.168.1.5 那么PAC文件中 proxy 要改写成: var proxy = "SOCKS5 192.168.1.5:7070; SOCKS 192.168.1.5:7070; DIRECT;";

在局域网其他Mac上,配置自动代理, URL填写: http://192.168.1.5:7072/gofwd.js

PAC文件是一个纯文本js脚本文件,从NG的自动代理配置的URL直接下载存成gofwd.js就可以了。

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.