Date: Sun, 26 Nov 2000 21:06:34 -0800 From: "Crist J . Clark" <cjclark@reflexnet.net> To: Nuno Teixeira <nuno.teixeira@pt-quorum.com> Cc: cjclark@alum.mit.edu, freebsd-security@FreeBSD.ORG Subject: Re: NATD: failed to write packet back (Permission denied) Message-ID: <20001126210634.O70192@149.211.6.64.reflexcom.com> In-Reply-To: <003301c05812$0f7deb60$0200a8c0@n2>; from nuno.teixeira@pt-quorum.com on Mon, Nov 27, 2000 at 01:33:32AM -0000 References: <001701c057c4$1e1ac010$0200a8c0@n2> <20001126110756.C34151@149.211.6.64.reflexcom.com> <000b01c057dd$f9423ab0$0200a8c0@n2> <20001126113720.A70192@149.211.6.64.reflexcom.com> <3A2183E7.6039C582@FreeBSD.org> <20001126140033.E70192@149.211.6.64.reflexcom.com> <003301c05812$0f7deb60$0200a8c0@n2>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 27, 2000 at 01:33:32AM -0000, Nuno Teixeira wrote: > Hello, > > 1. Ok. It works. Now I can traceroute others but the outside can't > traceroute me. The result is: > > "65435 Deny UDP other_server:65302 my_server:33509 in via tun0" Oh, you wanted to allow traceroutes in? Someone else posted the rules to allow it in and also mentioned that it is a really big hole to put in the firewall. But to review, you basically just need to allow the same stuff in the other direction. > 2. I found one problem: when I login other computer via FTP and I make a > "ls" I get the log: > > "65435 Deny TCP ftp_server:20 my_server:49152 in via tun0" > > Does I forgot something? Your ftp-data connections is being denied. FTP is a ugly, ugly protocol for firewalls since it uses two channels, i.e. two completely independent TCP connections. That looks like a failure of an data-connetion initiated with a PORT command. Use passive (PASV) FTP. It should work fine. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001126210634.O70192>