Page 1 of 1

Firewall Setup

Posted: Wed Oct 22, 2014 5:57 pm
by fremeni
Hi Guys,

The new platform have the firewall incluted.

I've setted it like this

A rule that block 0.0.0.0/0 (all ip range) for all ports (excluted 80)

A rule that accept My Own Ip for all ports

This is the secure way for a personal server?

Re: Firewall Setup

Posted: Wed Oct 22, 2014 9:29 pm
by imperio
A rule that block 0.0.0.0/0 (all ip range) for all ports (excluted 80)
A rule that accept My Own Ip for all ports
Be careful
If you have dynamic ip, you will not access to ssh

Re: Firewall Setup

Posted: Wed Oct 22, 2014 10:32 pm
by Trentor
fremeni wrote:This is the secure way for a personal server?
Yes, is secure, but not the proper way.

It's really dangerous if you have a dinamic IP. If your IP changes, you won't be able to connect to your server (via SSH) anymore; and with that rule you can't connect to your server with another connection if you have problems with your usual connection. Really dangerous.

For secure your server you can use tools like fail2ban, a correct configuration of the SSH service, disabling services that you are not using (FTP, POP, DNS, etc.) and closing their ports, etc.