https://github.com/tbxark/webproxy
A simple HTTP reverse proxy server that routes requests through a SOCKS5 proxy.
https://github.com/tbxark/webproxy
Last synced: 6 months ago
JSON representation
A simple HTTP reverse proxy server that routes requests through a SOCKS5 proxy.
- Host: GitHub
- URL: https://github.com/tbxark/webproxy
- Owner: TBXark
- License: mit
- Created: 2025-03-11T09:13:33.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-04-17T03:18:32.000Z (6 months ago)
- Last Synced: 2025-04-24T01:49:43.462Z (6 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webproxy
## Overview
`webproxy` is a simple HTTP reverse proxy server that routes requests through a SOCKS5 proxy. It is useful for routing traffic through a SOCKS5 proxy to a target server.
## Usage
### Build
To build the project, run:
```sh
go build -o webproxy main.go
```### Run
To run the proxy server, use the following command:
```sh
./webproxy -target -socks5 -listen
```- `target`: The target URL to which the requests will be proxied.
- `socks5`: The SOCKS5 proxy address.
- `listen`: The address on which the proxy server will listen (default is `:8080`).### Example
```sh
./webproxy -target http://example.com -socks5 127.0.0.1:1080 -listen :8080
```This will start the proxy server on port 8080, routing traffic to `http://example.com` through the SOCKS5 proxy at `127.0.0.1:1080`.
## License
This project is licensed under the MIT License.