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
How do I forward packets from 10.228.228.2 to the docker network?
Forwarding via iproute2 only works for 192.168.0.226/0.0.0.0/127.0.0.1 (virtual machine networks)
Is there a way to send packets through iproute2 to the docker network - because the game server is running in it, game server port 25565.
The text was updated successfully, but these errors were encountered:
vds 1: https://ibb.co/cXFjbq4
vds 2: https://ibb.co/tBWsvkK
I configure iproute2 with this script https://pastebin.com/nxgJAMbF , I run the script on vds 2, on vds 1 I drive
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25565 -j DNAT --to 10.228.228.2:25565
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 10.228.228.2:80
after I try to go to the site, the site enters but the server running in docker does not enter, what could have gone wrong?
docker: https://pastebin.com/xwaJpGfs
docker: root@debian:/home/debian# docker container lsCONTAINER ID IMAGE - Pastebin.com
How do I forward packets from 10.228.228.2 to the docker network?
Forwarding via iproute2 only works for 192.168.0.226/0.0.0.0/127.0.0.1 (virtual machine networks)
Is there a way to send packets through iproute2 to the docker network - because the game server is running in it, game server port 25565.
The text was updated successfully, but these errors were encountered: