[FUGSPBR] liberar FTP(continuo tentando!!!)

Moises Duque mduque em zipmail.com.br
Qua Nov 13 09:35:59 BRST 2002


Ola lista!

Como faço para liberar FTP usando IPFW, segue abaixo meu script do firewall, navego,mando e-mail, mas não estou conseguindo fazer FTP. Agradeço qq ajuda.

roteador-->Free com ed0 ip 200.100.xxx.122(válido)
                               ed1 ip 10.0.0.1


#!/bin/sh

/sbin/ipfw -q -f flush



/sbin/ipfw -q add 00200 check-state

/sbin/ipfw -q add 00201 divert natd all from any to any via ed0

/sbin/ipfw -q add 00202 allow ip from any to any via lo0

/sbin/ipfw -q add 00203 allow ip from any to any via ed1 


/sbin/ipfw -q add 00204 allow tcp from any to any out xmit ed0 setup

/sbin/ipfw -q add 00205 allow tcp from any to any via ed0 established

/sbin/ipfw -q add 00303 allow udp from 10.0.0.0/24 to 200.100.xxx.122 out xmit ed0 



/sbin/ipfw -q add 02000 allow udp from 200.100.xxx.122 to any keep-state

/sbin/ipfw -q add 03000 deny udp from any to any keep-state

/sbin/ipfw -q add 04000 allow icmp from 200.100.xxx.122 to any keep-state

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://www.fug.com.br/pipermail/freebsd/attachments/20021113/f672a86a/attachment.html>


Mais detalhes sobre a lista de discussão freebsd