From owner-freebsd-questions Sat Feb 26 19:52:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.alpha.net.au (mail2.alpha.net.au [203.41.44.8]) by hub.freebsd.org (Postfix) with ESMTP id 2379E37B565 for ; Sat, 26 Feb 2000 19:52:47 -0800 (PST) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (surry-pool-222.alpha.net.au [203.41.44.222] (may be forged)) by mail.alpha.net.au (8.9.3/8.9.3) with SMTP id OAA19424; Sun, 27 Feb 2000 14:53:40 +1100 From: Danny To: Juergen Lock Subject: Re: HOWTO use the Ports behind a firewall Date: Mon, 28 Feb 2000 14:52:21 +1100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain Cc: freebsd-questions@freebsd.org References: <200002261236.NAA47254@saturn.kn-bremen.de> MIME-Version: 1.0 Message-Id: <00022814545200.00536@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, -I did what you instructed below Modify /root/.profile by adding the following lines :- HTTP_PROXY = 192.168.1.194:3128 FTP_PROXY = 192.168.1.194 -Still I get the following error message fetch: ftp.idsoftware.com: Host name lookup failure Looking forward to your feedback danny dannyh@idx.com.au On Sat, 26 Feb 2000, Juergen Lock wrote: > In article <00022718170302.00322@freebsd.freebsd.org> you write: > > >Ususally if I want to ftp into ftp.freebsd.org I would type in > > > >ftp 192.168.0.1 > >anonymous@ftp.freebsd.org > >dannyh@idx.com.au > > >1) What exactly do I have to do to get the ports to install behind Winproxy my > >firewall? > > ports use fetch(1) to get their distfiles, if you look at fetch's > manpage you'll see you can set a FTP_PROXY environment variable to > do this. (you may also want to set HTTP_PROXY for distfiles that are > at http:// links.) that you'll then either just set in your .profile > or put it in /etc/make.conf as a FETCH_ENV=... line. > > HTH, > -- > Juergen Lock > (remove dot foo from address to reply) -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message