Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 497 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 497 Bytes

HTTP-to-Transport

This app runs a local HTTP-CONNECT proxy that dials the target using the transport configured in the command-line.

Flags:

  • -transport for the transport to use.
  • -addr for the local address to listen on, in host:port format. Use localhost:0 if you want the system to dynamically pick a port for you.

Example:

KEY=ss://ENCRYPTION_KEY@HOST:PORT/
go run github.com/Jigsaw-Code/outline-sdk/x/examples/http2transport@latest -transport "$KEY" -addr localhost:54321