how to forward IP request to a specific port
- by Jeremy Talus
I have 2 servers
the first (SRV01) is running Bind and other web app
the second (SRV02) is running 2 server Minecraft (^^)
in Bind I have 2 A recording for the 2 server MC
s1.domain.tld A SRV02IP
s2.domain.tld A SRV02IP
the 2 MC serv are running on 2 different port 25565 and 25566
so I want that the request from s1.domain.tld:25565 are going to SRV02IP:25565
and the request from s2.domain.tld:25565 are going to SRV02IP:25566
I think I need do this in the SRV02 iptables. I have looking some topic about iptables but nothing pertinent to me.
could you help me ?
rgds.