iptables -A INPUT -p tcp -m tcp --dport 6881:6889 -j ACCEPT

caso vc especificar uma origem � s� adicionar um -s
iptables -A INPUT -s 10.10.10.10 -p tcp -m tcp --dport 6881:6889 -j ACCEPT

vc tbm pode colocar uma rede ou um range de ips no -s
caso o protocolo seja udp n�o esque�a de trocar

n�o esque�a de dar uma olhada no man do iptables

Abra�os






----- Original Message ----- 
From: "Cl�udio Aranha" <[EMAIL PROTECTED]>
To: "Lista de Usuarios do Slackware Linux" <[email protected]>
Sent: Tuesday, February 22, 2005 8:36 AM
Subject: [slack-users] portas


> Ol�
>
> Quero abrir as portas de 6881 at� 6889 por�m n�o entendo nada de
> iptables. Algu�m podia me passar as regras?
> -- 
> ======================================
> Claudio Aranha                       |
> [EMAIL PROTECTED]    |
> Skype   clauaranha                   |
> ICQ     34201172                     |
> ======================================
> There I was completely wasting       |
> Out of work and down                 |
> All inside it's so frustrating       |
> As I drift from town to town         |
> Feel as though nobody cares          |
> If I live or die                     |
> So I might as well begin             |
> To put some action in my life        |
>                                       |
> Breaking the law! Breaking the law!  |
> Breaking the law! Breaking the law!  |
> ======================================
> Linux user number 376292             |
> ======================================
> -- 
> GUS-BR - Grupo de Usuarios Slackware - BR
> http://www.slackwarebrasil.org/
> http://www.linuxmag.com.br/mailman/listinfo/slack-users
>


-- 
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a