0

I have a server that want to allow connections into it through port 25565, but when I test on http://www.yougetsignal.com/tools/open-ports/ it says they are closed?

I have no outfacing interface configured either

My router has ports 25565 open, and these are my iptables rules

$ iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:webmin
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:25565
           all  --  anywhere             anywhere             state NEW,RELATED,ESTABLISHED

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination    

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
DNAT       tcp  --  anywhere             94.5.56.101          tcp to:192.168.0.8

$ iptables -t nat -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
MASQUERADE  all  --  anywhere             anywhere     
user240010
  • 675
  • 3
  • 8
  • 14
  • 2
    If you have "no outfacing interface" how do you expect the outside (that yougetsignal.com site) to be able to connect to diagnose your system? – roadmr Mar 11 '14 at 19:12
  • Thanks, update: I set a rule so that traffic coming into my external IP is forwarded to my ipv4 address. But I still can't listen on the port! – user240010 Mar 11 '14 at 19:24
  • See http://askubuntu.com/questions/427645/how-to-map-my-ipv4-address-to-external-address-in-iptables/427654#427654 – user68186 Mar 11 '14 at 19:39
  • My router handles my external IP forwarding by using DynDns to resolve it if my address ever changes the ports I forwarded won't – user240010 Mar 11 '14 at 19:48

0 Answers0