[FUG-BR] Abrir portas ipfw

Listas listas em wernet.com.br
Sexta Outubro 10 14:26:26 BRT 2008


Sete o aMule para usar alguma porta, tipo TCP 4662 e UDP 4672, após isso 
libere essas portas no Firewall

Wernet Moreira de Souza

---------- Original Message -----------
From: Bandeira <gnu.groups at gmail.com>
To: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)" 
<freebsd at fug.com.br>
Sent: Thu, 9 Oct 2008 19:43:41 -0300
Subject: Re: [FUG-BR] Abrir portas ipfw

> O problema é aqui mesmo, tirando essa regra ipfw add 65534 deny tcp 
> from any to any o amule funciona na boa. Mas queria usar com ela, o 
> torrent funciona, se alguem puder ajudar. Estou usando em modo bridge.
> 
> Obrigado.
> 
> Regras que uso:
> 
> ipfw add 01000 allow ip from any to any via lo*
> ipfw add 02000 deny all from any to any frag
> ipfw add 02001 allow udp from any to any dst-port 37003
> ipfw add 02002 allow udp from any to any dst-port 32715
> ipfw add 02003 allow tcp from any to any dst-port  32000
> ipfw add 02004 allow tcp from any to any dst-port  51413
> ipfw add 02005 allow tcp from any to any dst-port  16000
> ipfw add 04001 deny ip from 127.0.0.0/8 to any in
> ipfw add 04101 deny ip from any to 127.0.0.0/8 in
> ipfw add 04201 deny ip from 224.0.0.0/3 to any in
> ipfw add 04301 deny tcp from any to 224.0.0.0/3 in
> ipfw add 04401 allow tcp from any to any out
> ipfw add 04501 allow tcp from any to any established
> ipfw add 04601 allow icmp from any to any icmptypes 0,3,11
> ipfw add 4602 allow icmp from any to any icmptypes 8 out
> ipfw add 04701 deny icmp from any to any
> ipfw add 04801 deny ip from any to any ipoptions rr
> ipfw add 04901 deny ip from any to any ipoptions ts
> ipfw add 05001 deny ip from any to any ipoptions lsrr
> ipfw add 05101 deny ip from any to any ipoptions ssrr
> ipfw add 05301 deny tcp from any to any tcpflags syn,fin
> ipfw add 05311 deny tcp from any to any tcpflags syn,rst
> ipfw add 05321 deny tcp from any 0 to any
> ipfw add 05331 deny tcp from any to any dst-port 0
> ipfw add 05341 deny udp from any 0 to any
> ipfw add 05351 deny udp from any to any dst-port 0
> ipfw add 05361 deny ip from 224.0.0.0/4 to any in
> ipfw add 05371 deny ip from 0.0.0.0/8 to any
> ipfw add 65534 deny tcp from any to any
> ipfw add 65535 allow ip from any to any
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
------- End of Original Message -------



Mais detalhes sobre a lista de discussão freebsd