p2p-forwarder

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0

README

p2p-forwarder

p2p socks proxy

Usage

Common
$ p2p-forwarder -help
Usage: 1) Run the program in first machine (local) with: ./p2p-forwarder server [flags...] [-allow-proxy]
       2) Then start it in second machine (remote) with: ./p2p-forwarder client [flags...] -d <RemotePeerId> [-proxy-port 8000]
  -key-file string
        libp2p peer key file (default "peer.key")
  -p2p-port int
        libp2p listen port (default 12398)
Server
$ p2p-forwarder server
Usage of server:
  -allow-proxy
        allow socks5 proxy server
  -p value
        allow forward ports
Client
$ p2p-forwarder client
Usage of client:
  -d string
        destination peer id
  -p value
        forward ports (-p PORT or -p REMOTE_PORT:LOCAL_PORT)
  -ping
        ping test
  -proxy-port int
        socks proxy server listen port
  -with-ping
        ping test

License

Apache 2.0

Directories

Path Synopsis
pkg
p2p

Jump to

Keyboard shortcuts

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