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.

Let's say I have an internal address of 192.168.0.2 and an external address of 1.222.333.4

My external IP should, by default, be mapped to my internal IP.

But how should I allow connections into my external IP with an iptables rule?

I have no interface set up for the outfacing network, should I create a DHCP outfacing network card (How would I go about doing this, if this is the case?) or should I do it another way? - Maybe with a FORWARD rule? I am not sure. I imagine it would be easier to make an outfacing network card.

Thank you

share|improve this question
    
Yes, you need a forward rule for the server connection. For Minecraft this would be port 25565 –  the_Seppi Mar 8 at 2:12
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.