[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPTables VS Bittorrent



Oi Fagner,

Em Mon, Jun 08, 2009 at 09:18:48AM -0300, Fagner Patricio escreveu:
| Date: Mon, 8 Jun 2009 09:18:48 -0300
| Subject: IPTables VS Bittorrent
| From: Fagner Patricio <fagner.patricio@gmail.com>
| To: Debian <debian-user-portuguese@lists.debian.org>
| 
|    Ola todos estou tentando aqui liberar o Torrent para uma maquina
|    especifica na minha rede e nao estou conseguindo vejam como estou fazendo:
| 
|  iptables -s 192.168.3.17/32 -A INPUT -p tcp --dport 6881:6999 -j ACCEPT
|  iptables -d 192.168.3.17/32 -A INPUT -p tcp --sport 6881:6999 -j ACCEPT
|  iptables -s 192.168.3.17/32 -A OUTPUT -p tcp --dport 6881:6999 -j ACCEPT
|  iptables -d 192.168.3.17/32 -A OUTPUT -p tcp --sport 6881:6999 -j ACCEPT
| 
|  iptables -s 192.168.3.17/32 -A FORWARD -p tcp --dport 6881:6999 -j ACCEPT
|  iptables -d 192.168.3.17/32 -A FORWARD -p tcp --sport 6881:6999 -j ACCEPT
| 
|  O que eu estou errando?
| 

dependendo de onde na lista de regras, pode ter uma regra após essa que
bloqueie tudo. O ideal é vc verificar a ordem de todas as regras .

LEslie


Reply to: