You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm -it -p <listen-port>:<listen-port> -p <remote-port>:<remote-port> kevinwan/tproxy:v1: The flag -p map 2 ports of the host to the container, that't alright;
tproxy -l 0.0.0.0 -p <listen-port> -r host.docker.internal:<remote-port>: The -r host.docker.internal:<remote-port> part cause the container access the host port directly, which I think may cause a loop like this:
Could you please help me to figure it out?
The text was updated successfully, but these errors were encountered:
I'm new to Docker and I'm confused when I try to understand the command
docker run --rm -it -p <listen-port>:<listen-port> -p <remote-port>:<remote-port> kevinwan/tproxy:v1 tproxy -l 0.0.0.0 -p <listen-port> -r host.docker.internal:<remote-port>
I'm gonna split the command into 2 parts:
docker run --rm -it -p <listen-port>:<listen-port> -p <remote-port>:<remote-port> kevinwan/tproxy:v1
: The flag-p
map 2 ports of the host to the container, that't alright;tproxy -l 0.0.0.0 -p <listen-port> -r host.docker.internal:<remote-port>
: The-r host.docker.internal:<remote-port>
part cause the container access the host port directly, which I think may cause a loop like this:Could you please help me to figure it out?
The text was updated successfully, but these errors were encountered: