Skip to content

Instantly share code, notes, and snippets.

@iBet7o
Created November 17, 2014 12:01
Show Gist options
  • Save iBet7o/01debac637fd528f0817 to your computer and use it in GitHub Desktop.
Save iBet7o/01debac637fd528f0817 to your computer and use it in GitHub Desktop.
Abrir un puerto en CentOS 6.5

Agregar la regla al archivo /etc/sysconfig/iptables:

-A INPUT -m state --state NEW -p tcp --dport 3000 -j ACCEPT

Cargar la nueva regla:

iptables -F

Reiniciar el servicio:

service iptables restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment