
This is a very simple proxy used to be able to forward an address/port from one point to another.
It is not intented to be used (for now) in production as it doesn't care (at all) about any type of security and/or dynamic configuration.
This proxy is entirely based on the library tcpproxy from GoLang.
The simplest way to install this is with Docker.
$ docker run -p "8080:8080" -v "${PWD}/etc:/etc/aguacateproxy" -it ntidev/aguacateproxy
Unless you make the container run on the host's network, you will have to map all the ports that you will use on the configuration file.
The configuration is based on a simple file called config.yml
endpoints:
- { name: "aguacateproxy_test", from: ":8080", to: "1.2.3.4:80" }
- { name: "aguacateproxy_test_sni", from: ":8080", to: "1.2.3.4:80", type: "sni", domain: "aguacateproxy.xyz" }
The configuration consists of an array of endpoints which has the following structure:
From piece of the redirection (Required)To piece of the redirection (Required)sni, this parameter is optionalsni is used, this parameter contains the domain piece for the SNI routeContent type
Image
Digest
Size
39.6 MB
Last updated
almost 8 years ago
docker pull ntidev/aguacateproxy