TCP Proxy Gateway
TcpGate is a proxy server that proxies client request to backend server. It plays as a port forwarding server between client and server. For more information, please visit the
TcpGate Programming Blog .
Create the Container
To create a container as daemon process, enter the following command
docker run -d --network host -v /var/log/tcpgate:/var/log/tcpgate --name tcpgate tcpgate:tagnameCopy
Port number description as following:
14001: Telnet port of TcpGate
If you host has enabled SELinux, add option --security-opt label=disable
Restrt the TcpGate Inside the Container
After the container is created, you can enter into the container by the following command
docker exec -i -t tcpgate bashCopy
You can restart the TcpGate program by the following command
/usr/local/upinget/stoptcpgate.shCopy