Date: Thu, 18 Jul 2002 12:00:21 +0200 From: "nascar24" <nascar24@home.nl> To: <net@freebsd.org> Subject: FXP behind firewall Message-ID: <11c801c22e41$edc7c740$0200a8c0@winxp>
next in thread | raw e-mail | index | archive | help
Hello, I have enabled AllowForeighAddress is proftpd.conf but still, people can't fxp to my ftp site. I think it has something to do with my IPFW rules. Here are the rules. # allow loopback traffic add 100 allow ip from any to any via lo0 # protect loopback address add 200 deny ip from 127.0.0.1 to any add 249 deny ip from any to 127.0.0.1 # block spoofs add 400 deny log ip from me to any in via ed0 # enable NATD add 425 divert 8668 ip from any to any via ed0 # check dynamic rules add 450 check-state # make dynamic entries for all outgoing traffic add 500 allow tcp from me to any 1024-65535,21,22,25,80,110,123,443,666 keep-state out via ed0 add 550 allow udp from me to any 21,22,80,53,68,123 keep-state out via ed0 # services we offer to the world add 600 allow log tcp from any to me 1024-65535,22,5067,5617,8472,10000 keep-state in # pass ICMP add 700 allow icmp from me to any out add 750 allow icmp from any to me in # pass everything on private LAN add 800 allow all from 192.168.0.0/16 to any add 850 allow all from any to 192.168.0.0/16 # log rejects that have fallen through add 65000 deny log ip from any to any And this is the message that a user gets when he tries to FXP something from a ftp to mine: 227 Entering Passive Mode (IP_ADDRESS,4,190). PORT IP_ADDRESS,4,190 200 Port command successful. STOR TEST.mp3 150 Opening data connection for TEST.mp3. RETR TEST.mp3 425 Cannot open data connection (10060). ABOR I hope some one here can help. FTP is not a great protocol for firewalls! Gr. Marcel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11c801c22e41$edc7c740$0200a8c0>