Utiliza el : arno iptables firewall, muy bueno y facil de usar. 



Saludos. 
____________________________________________ 
Humberto 



www.g4s.com.pe 



P Por favor considere el medio ambiente antes de imprimir este correo 
electrónico. 


----- Mensaje original -----

De: "Fabian Donoso C." <[email protected]> 
Para: [email protected] 
Enviados: Miércoles, 28 de Agosto 2013 14:57:42 
Asunto: Re: [l-plug] Abrir puerto 25 con IPTABLES 


Edgar, te pasaste, muchisimas gracias. 




El 28 de agosto de 2013 05:42, Edgar Rodolfo V. A. < [email protected] > 
escribió: 


El 27/08/13, Fabian Donoso C. < [email protected] > escribió: 


> Estimados, buenas tardes. 
> 
> Tengo instalado CentOS 6.4, y estoy tratando de conectarme desde un cliente 
> al puerto 25 al CentOS pero no logro conectarme. 
> 
> En CentOS he agregado esta linea 
> 
> # -A INPUT -p tcp -m state --state NEW -m tcp --dport 25 -j ACCEPT 
> 
> service iptables restart 
> 
> Pero desde el cliente no me puedo conectar (telnet ip_cenOS 25) y nada... 


En CentOS ya existe un firewall básico compruébalo con iptables -Ln, 
debes borrar esas reglas si lo deseas y hacer tu propio firewall. 

Para lo que quieres hazlo simple: 
#iptables -F 
Y prueba ingresar, todo estará admitido, iptables -Ln 

Ya luego puedes personalizar e incluso puedes hacer uno tipo 
iptablesrules.sh y poner una línea en rc.local y ejecutarlo en boot 
time, cosa que cuando algo pase quede el por defecto osea 
/etc/sysconfig/iptables. 

Para más detalles y cómo hacer reglas y más cosas tienes a internet 
como tu mejor amigo, saludos. 

> 
> -- 
> Fabian DC. 
> 
_______________________________________________ 
Lista de correo Linux-plug 
Temática: Discusión general sobre Linux 
Peruvian Linux User Group ( http://www.linux.org.pe ) 

Participa suscribiéndote y escribiendo a: [email protected] 
Para darte de alta, de baja o hacer ajustes a tu suscripción visita: 
http://voip2.voip.net.pe/mailman/listinfo/linux-plug 

IMPORTANTE: Reglas y recomendaciones 
http://www.linux.org.pe/listas/reglas.php 
http://www.linux.org.pe/listas/comportamiento.php 
http://www.linux.org.pe/listas/recomendaciones.php 

Alojamiento de listas cortesia de http://cipher.pe 





-- 
Fabian Donoso C. 
Santiago de Chile 
_______________________________________________ 
Lista de correo Linux-plug 
Temática: Discusión general sobre Linux 
Peruvian Linux User Group (http://www.linux.org.pe) 

Participa suscribiéndote y escribiendo a: [email protected] 
Para darte de alta, de baja o hacer ajustes a tu suscripción visita: 
http://voip2.voip.net.pe/mailman/listinfo/linux-plug 

IMPORTANTE: Reglas y recomendaciones 
http://www.linux.org.pe/listas/reglas.php 
http://www.linux.org.pe/listas/comportamiento.php 
http://www.linux.org.pe/listas/recomendaciones.php 

Alojamiento de listas cortesia de http://cipher.pe 

<html><body>ADVERTENCIA SOBRE CONFIDENCIALIDAD
G4S Peru S.A.C. Esta comunicacion contiene informacion que puede ser 
confidencial, personal y/o privilegiada. Es para el uso exclusivo del receptor 
previsto. Si usted no es el receptor previsto, observe que cualquier 
distribucion, reenvio, copia o uso de esta comunicacion o de la informacion en 
ella, esta terminantemente prohibida. Cualquier opinion personal expresada en 
este E-mail es del remitente individual y G4s Peru S.A.C. no acepta 
responsabilidad de ella. Antes de tomar cualquier accion basada sobre este 
mensaje de E-mail, usted debe buscar la confirmaci�n apropiada de su 
autenticidad.

G4S Peru S.A.C. is part of the G4S Group. This communication contains 
information which may be confidential, personal and/or privileged. It is for 
the exclusive use of the intended recipient(s). If you are not the intended 
recipient(s), please note that any distribution, forwarding, copying or use of 
this communication or the
 information in it is strictly prohibited. Any personal views expressed in this 
e-mail are those of the individual sender and G4s Peru S.A.C. does not endorse 
or accept responsibility for them. Prior to taking any action based upon this 
e-mail message, you should seek appropriate confirmation of its 
authenticit</body></html>
_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe)

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://voip2.voip.net.pe/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php

Alojamiento de listas cortesia de http://cipher.pe

Responder a