http2socks

command module
v0.0.0-...-7c0c5ed Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

http2socks

A simple HTTP proxy server that connects to a SOCKS proxy server and passes traffic through it.

To use it, you need to specify the address that will listen to http proxy server. Also it is necessary to specify the address of socks server and username and password to access it.

Data for start can be passed by flags or environment variables.

Name Flag Environment
HTTP proxy address -http_address HTTP_ADDRESS
SOCKS5 proxy server -socks_proxy SOCKS_PROXY
SOCKS5 proxy user -socks_proxy_user SOCKS_PROXY_USER
SOCKS5 proxy password -socks_proxy_password SOCKS_PROXY_PASSWORD

Documentation

Overview

Simple HTTP proxy server that connects to a SOCKS proxy server and passes traffic through it.

Inspired by an article on Eli's Bendersky blog [https://eli.thegreenplace.net/2022/go-and-proxy-servers-part-1-http-proxies/]

Jump to

Keyboard shortcuts

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