nowwhat
08/01/2015, 19h15
Hi.
Envoyé par teesee64
Easy.
Never - ever work with iptables (== firewall) rules except when you fully understand what they do.
Flush/reset/remove all rules.
Why ?
Your server is perfectly well protected without you specifying rules in the firewall.
==> ALL ports are by default NOT blocked, not on your server, not somewhere else.
Your FTP works because the FTP-server program is correctly setup and functioning.
Your SSH works because the SSH-server program is correctly setup and functioning.
Now, your turn to do the same with that minecraft thing.
Later, far in the future, if you have some time left (let's say, a couple of weeks) and you have really nothing else to do, start documenting about this firewall thing, and "iptables" rules. Play with them - learn from them.
But then, at least, you know your services (programs) are set up correctly so if something ges wrong you know your rules are wrong.
Btw: I'm having a server for years, never set or even used iptables (except maybe when using fail2ban).

Never - ever work with iptables (== firewall) rules except when you fully understand what they do.
Flush/reset/remove all rules.
Why ?
Your server is perfectly well protected without you specifying rules in the firewall.
==> ALL ports are by default NOT blocked, not on your server, not somewhere else.
Your FTP works because the FTP-server program is correctly setup and functioning.
Your SSH works because the SSH-server program is correctly setup and functioning.
Now, your turn to do the same with that minecraft thing.
Later, far in the future, if you have some time left (let's say, a couple of weeks) and you have really nothing else to do, start documenting about this firewall thing, and "iptables" rules. Play with them - learn from them.
But then, at least, you know your services (programs) are set up correctly so if something ges wrong you know your rules are wrong.
Btw: I'm having a server for years, never set or even used iptables (except maybe when using fail2ban).