maincraftor
New Member
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
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