gropxy

command module
v0.0.0-...-abc6c66 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 16 Imported by: 0

README

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)

Documentation

Overview

Package main provides a configurable proxy server supporting both HTTP and TCP protocols

Jump to

Keyboard shortcuts

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