I am making a minecraft a minecraft server, I have forwarded the port 25565 and have done everything necessary for it to work, with a functioning DNS that updates from the external ip every 5 minutes.
But it doesn't work; when I start the minecraft server it works but only on the local network. It's not reaching outside the network. How do I use iptables to make this work?
I have forwarded my servers' internal ip and I tested on a website to see if it can listen on the ports 25565. It was successful but I am not sure why it won't work?
I've heard of postrouting having something to do with this? What iptables commands should I use?