Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.