https://github.com/mritd/s2h
A simple tool to convert socket5 proxy protocol to http proxy protocol
https://github.com/mritd/s2h
Last synced: about 1 year ago
JSON representation
A simple tool to convert socket5 proxy protocol to http proxy protocol
- Host: GitHub
- URL: https://github.com/mritd/s2h
- Owner: mritd
- License: apache-2.0
- Created: 2021-10-11T04:50:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-03T09:33:49.000Z (over 4 years ago)
- Last Synced: 2025-04-04T20:08:56.550Z (over 1 year ago)
- Language: Go
- Size: 27.3 KB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Socks5 to HTTP
> 这是一个超简单的 Socks5 代理转换成 HTTP 代理的小工具。
### 如何安装?
#### Golang 用户
```sh
# Required Go 1.17+
go install github.com/mritd/s2h@master
```
#### Docker 用户
```sh
docker pull mritd/s2h
```
### 如何使用?
#### 二进制安装用户
```sh
# -l 本地 HTTP 监听地址
# -s 远程 Socks5 服务器地址
s2h -l 127.0.0.1:8081 -s 127.0.0.1:1080
```
#### Docker 用户
```sh
docker run --rm -it --network=host mritd/s2h -l 127.0.0.1:8081 -s 127.0.0.1:1080
```