IPTablesProxy is a quick invention using iptables allowing proxying of external services. By default, it will proxy any traffic it receives. To run it on its own:
$ docker run -it --rm -e SERVERIP='172.217.9.46' --cap-add=NET_ADMIN -p 8080:80 zikloa/ipt-proxy
Optionally, you can define SERVERIP and HOSTIP to specify a specific TCP port mapping.
$ docker run -it --rm -e SERVERIP='172.217.9.46' -e SERVERPORT='3200' -e HOSTPORT='80' --cap-add=NET_ADMIN -p 8080:80 zikloa/ipt-proxy
SERVERIP - The IP address of the server you are proxyingSERVERPORT - The Port being used by the server you want to proxy (optional)HOSTPORT - Port on the container you plan to expose the port with. This doesn't have to be the same as SERVERPORT (optional)Content type
Image
Digest
Size
3.1 MB
Last updated
over 5 years ago
docker pull zikloa/ipt-proxy