Date: Fri, 31 May 2002 21:58:18 +0200 From: Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl> To: Darryl Hoar <darryl@osborne-ind.com> Cc: freebsd-questions@freebsd.org Subject: Re: IPFILTER & FTP Message-ID: <20020531215818.B36456@prioris.mini.pw.edu.pl> In-Reply-To: <000601c208d4$be9f8710$0701a8c0@darryl>; from darryl@osborne-ind.com on Fri, May 31, 2002 at 01:55:33PM -0500 References: <000601c208d4$be9f8710$0701a8c0@darryl>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Darryl, In /etc/ipnat.rules you should have an entry: map fxp0 192.168.1.0/24 -> external/32 proxy port ftp ftp/tcp Where fxp0 is your extrenal interface, 192.168.1.0/24 local network, and external is external interface. Put this rule before those two: map fxp0 192.168.1.0/24 -> external/32 portmap tcp/udp 20000:30000 map fxp0 192.168.1.0/24 -> external/32 That should help. Have fun. Regards, gregory On Fri, May 31, 2002 at 01:55:33PM -0500, Darryl Hoar wrote: > Greetings, > I have a 4.5 box setup running IPFilter. It is the firewall to my LAN, and > also does NAT. > > The problem I have is when I try to ftp to a server, it logs me in OK to the > ftp> prompt. > When I do an ls, it > 220 Entering Passive Mode (my private ip 192.168.1,101) > and just hangs. > > Do I need to add a rule in my IPFilters on my firewall to allow my computer > to ftp > another computer (on the internet)? > > Any ideas? > > thanks, > Darryl > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl> "The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjz31doACgkQpw+idSSJRp8voQCgkpOK+lM97AgAZJPsvLZensjm 5K8AoKoN9Tu+b4PjWd0NEZ0GM965Sdn1 =ro2P -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531215818.B36456>
