Closed deveworld closed 4 years ago
Hello @mcsim415,
sorry, I don't quite understand what you are asking here? The image, as shipped, does not actively firewall inbound connections (although this can of course be turned on easily enough).
Is there a particular service, using this port, that you'd like to enable?
Best, sakaki
I couldn't find service command. How can i do?
Try rc-service iptables save
?
Oh. It's working.
Um.. It isn't working..
22 port is open. But 19132 port is close..
In fact, I can't use Linux well..
You need a service listening on this port also. Try running netstat -vatn
and netstat -vaun
to see which TCP and UDP services are running, on which ports.
I want open my minecraft pe server!
Ummm
OK, from your netstat
output, you have a UDP service listening on port 19132, presumably pocket minecraft protocol.
As such, you need to allow inbound connections on that port for UDP (rather than outbound connections for TCP, which is what you did above).
Try:
# iptables -P OUTPUT ACCEPT
# iptables -I INPUT 1 -p udp --dport 19132 -j ACCEPT
verify your ruleset with
# iptables-save
hth, sakaki
Ummm.?
OK, so as I suspected, the port is open (you have in fact many rules ^-^ inserted to do that, and also, the default stance for INPUT
is ACCEPT
too; so nothing on this local firewall is in fact blocking you — which is as I would have expected, unless you had explicitly set up something to the contrary).
You also (per your netstat -vaun
output earlier) have a service listening on this port, on all interfaces.
So you should be able to connect to this service OK. Check the IP address of your RPi using ifconfig
, and then try to connect from another system on your local network first. Once that works, you can ensure port forwarding etc. on your external router is working.
I'll check it port state soon.
Oh my gosh...
It is still close
The issue is likely with your external router allowing / forwarding port 22, but not your target port. You need to fix that. The issue is not with the Pi.
Anyway, I am closing this issue and blocking you as a user, since your post above contains inappropriate sexual imagery.
I have reported this also to GitHub.
S.
How to open port 19132?