https://github.com/instantwebp2p/node-forward-proxy
Secure P2P HTTP and SOCKS5 Tunnel
https://github.com/instantwebp2p/node-forward-proxy
forward-proxy p2p-http web-proxy
Last synced: 7 months ago
JSON representation
Secure P2P HTTP and SOCKS5 Tunnel
- Host: GitHub
- URL: https://github.com/instantwebp2p/node-forward-proxy
- Owner: InstantWebP2P
- License: mit
- Created: 2013-10-26T08:43:41.000Z (over 12 years ago)
- Default Branch: v3.3.x
- Last Pushed: 2024-10-02T05:42:28.000Z (over 1 year ago)
- Last Synced: 2025-07-16T03:21:33.753Z (7 months ago)
- Topics: forward-proxy, p2p-http, web-proxy
- Language: JavaScript
- Homepage: https://instantwebp2p.github.io/node-forward-proxy
- Size: 19.6 MB
- Stars: 44
- Watchers: 7
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-forward-proxy
===============
Secure P2P HTTP and SOCKS5 Tunnel based on [AppNet.link](https://github.com/InstantWebP2P/appnet.link) and [nodejs-httpp](https://github.com/InstantWebP2P/nodejs-httpp)
### Features
* HTTP / SOCKS5(4/4a) proxy server as forward-proxy import service
* HTTP CONNECT tunnel over [AppNet.link](https://github.com/InstantWebP2P/appnet.link) STUN session as forward-proxy export service
* Multi-hop relay over STUN session
* Secure P2P proxy tunnel to build user-defined WebVPN service
* High UDP data transfer performance
* Provide end-to-end security
### Install manually
* forward-proxy depend on nodejs-httpp, just build it from repo [nodejs-httpp](https://github.com/InstantWebP2P/nodejs-httpp)
* npm install forward-proxy, or git clone [forward-proxy](https://github.com/InstantWebP2P/forward-proxy.git) && cd forward-proxy && npm install
* setup your own [AppNet.link](https://github.com/InstantWebP2P/appnet.link) backend controller services refer to [AppNet.link-controller](https://github.com/InstantWebP2P/appnet.link-controller)
### Install with prebuilt packages, just download and unzip it
* [Windows package](https://github.com/InstantWebP2P/node-forward-proxy/archive/pkg-release-windows.zip)
* [OSx package](https://github.com/InstantWebP2P/node-forward-proxy/archive/pkg-release-osx.zip)
* [Linux x86 package](https://github.com/InstantWebP2P/node-forward-proxy/archive/pkg-release-linux32.zip)
* [Linux x86_64 package](https://github.com/InstantWebP2P/node-forward-proxy/archive/pkg-release-linux64.zip)
* [RaspberryPi package](https://github.com/InstantWebP2P/node-forward-proxy/archive/pkg-release-pi.zip)
### Usage/API
* for export service, refer to demo/export.js. to start it, just node demo/export.js
* for http proxy server, refer to demo/webproxy.js. to start it, just node demo/webproxy.js
* for socks proxy server, refer to demo/socksproxy.js. to start it, just node demo/export.js
* for http/socks server, please fill export service vURL in options.export, when create Proxy instance
* web browser is http proxy / socks proxy client
* after setup export service and start http or socks server, then set web browser proxy settings point to http/socks server
* for forward-proxy util, refer to bin/forward-proxy. to start it, just node bin/forward-proxy --key usrkey(MUST) --http_port xxx --socks_port xxx --export_vurl vURL --enable_export
* export/import service's usrkey MUST be same
### License
(The MIT License)
Copyright (c) 2012-present Tom Zhou(appnet.link@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.