Cerrar puertos

Para cerrar cualquier puerto aplicaremos la siguiente instrucción en consola(en este caso el puertso 22):

iptables -A INPUT -s 0.0.0.0/0 -p tcp –dport 22 -j DROP

Advertisements

Utzi erantzun bat

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Aldatu )

Twitter picture

You are commenting using your Twitter account. Log Out / Aldatu )

Facebook photo

You are commenting using your Facebook account. Log Out / Aldatu )

Google+ photo

You are commenting using your Google+ account. Log Out / Aldatu )

Connecting to %s

%d bloggers like this: