Gropxy - Configurable HTTP/TCP Proxy Server
A flexible proxy server supporting both HTTP/HTTPS proxying with TOML-based configuration.
Features
- Multiple simultaneous proxy configurations
- HTTP/HTTPS support with SSL/TLS termination
- Configuration via TOML file
- Environment variable and command-line configuration
Installation
go install github.com/secos/gropxy@latest
Configuration
Create a gropxy.toml
file:
[web-proxy]
source = ":8080"
destination = "target.com:80"
ssl = false
[ssh-proxy]
source = ":2222"
destination = "localhost:22"
Usage
# Run with default config (gropxy.toml)
gropxy
# Specify config file
gropxy -config=/path/to/config.toml
# Using environment variable
export GROPXY_CONFIG=/path/to/config.toml
gropxy
Building from Source
git clone https://github.com/secos/gropxy.git
cd gropxy
go build
License
MIT License (see LICENSE file)