I'm making a minecraft a minecraft server, I have forwarded the port 25565 and have doe 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. Which means 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'm not sure why it won't work?
I've heard of postrouting having something to do with this? What iptabels commands should I use?