• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Why does iproute2 not want to send packets to the docker network?

maincraftor

New Member
Joined
Dec 19, 2022
Messages
2
Reaction score
0
Credits
26
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
 

Members online


Top