Em 03/06/2012 01:00, Marcelo Gondim escreveu: > Em 03/06/2012 00:39, Thays Karine de Freitas escreveu: >> Olá pessoal, >> >> aproveitando esta thread, fiz bloqueio do msn na minha rede com a seguinte >> regra: >> deny tcp from 10.0.0.0/8 to any 1863 >> >> só que preciso liberar alguns ips para acesso ao msn, via ipfw.. >> >> fiz uma table com os ips a serem liberado e tentei a seguinte regra, sem >> sussesso: >> >> allow tcp from table to any dst-port 1863 > Fez errado. :) Primeiro você define a table. Ex.: > > iptables table 1 add 192.168.10.1 > iptables table 1 add 192.168.10.2 > iptables table 1 add 192.168.10.3 aff sorry
ipfw table 1 add 192.168.10.1 ipfw table 1 add 192.168.10.2 ipfw table 1 add 192.168.10.3 Tava com iptables na cabeça aqui e digitei errado. > > Depois usa a table assim: > > ipfw add allow tcp from "table(1)" to any 1863 >> alguem pode dar uma sugestão? >> >> Obrigada >> ------------------------- >> Histórico: http://www.fug.com.br/historico/html/freebsd/ >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd >> > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd