libp2p-proxy

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: MIT

README

libp2p-proxy

http&socks5 proxy service on libp2p peers.

libp2p-proxy creates a http and socks5 proxy service using libp2p peers.

Build

> cd libp2p-proxy
> make build

Install

go install github.com/p2pdao/libp2p-proxy/cmd/libp2p-proxy@latest

Usage

  1. Generate peer keys for server and client:
libp2p-proxy -key
  1. Update server.json with server peer key and start remote peer first with:
libp2p-proxy -config server.json
  1. Then update client.json with server peer multiaddress and start the local peer with:
libp2p-proxy -config client.json

Then you can do something like:

export http_proxy=http://127.0.0.1:1082 https_proxy=http://127.0.0.1:1082

or:

export http_proxy=socks5://127.0.0.1:1082 https_proxy=socks5://127.0.0.1:1082

then:

curl "https://github.com"

Directories

Path Synopsis
cmd
libp2p-proxy command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL