From owner-freebsd-questions Sat Jan 15 17:26: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 2F5E514BC3 for ; Sat, 15 Jan 2000 17:26:03 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id UAA53519; Sat, 15 Jan 2000 20:29:48 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001160129.UAA53519@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Problem with Ports and Firewall In-Reply-To: <3.0.32.20000116114130.00693890@idx.com.au> from Danny at "Jan 16, 2000 11:41:35 am" To: dannyh@idx.com.au (Danny) Date: Sat, 15 Jan 2000 20:29:48 -0500 (EST) Cc: eric@iteso.mx (De la Cruz Lugo Eric), dougy@gargoyle.apana.org.au (Doug Young), freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Danny wrote, > Hello, > > Currently > > -Running FreeBSD 3.3 > - KDE (defualt with 3.3) > - behind winproxy > > Situation > > - when you run the ports it should > ftp://ftp.freebsd.org/pub/somewhere/somefile.tgz > - Because I am behind a firewall obviously ftp://ftp.freebsd.org/pub/ etc > doesn't exist > - My Firewall IP address is 192.168.0.1 and the port is 21 > > Question > > 1) How can I get ports to work with the firewall? You can try downloading the file manually, # cd /usr/ports/distfiles # fetch -p ftp://ftp.freebsd.org/pub/somewhere/somefile.tgz The '-p' option will use "passive" ftp to get the file. This is will probably solve your firewall problem. An alternate way to do this is to set the following environmental varaible, # setenv FTP_PASSIVE_MODE # (for csh or tcsh) # FTP_PASSIVE_MODE=""; export FTP_PASSIVE_MODE # (for sh or bash) And then "make" from the ports directory as usual. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message