From owner-freebsd-questions@FreeBSD.ORG Sat May 22 10:55:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F9D9106566C for ; Sat, 22 May 2010 10:55:32 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 93DC88FC08 for ; Sat, 22 May 2010 10:55:31 +0000 (UTC) Received: by fxm4 with SMTP id 4so1924183fxm.13 for ; Sat, 22 May 2010 03:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+ST0vypqtHbc8wtz4SOnT+DEAUzpiwmu3QT+SUUJjrQ=; b=wohjRj4ExXpdAY9uOunrqATnChS66VfYL5tqtJK+Q4GxhXTeLXeSz5ad2/QCmBjouA jAsSz4WSWPfiXaysFzllSkwkkaFCPRYJ+ePi2P86Glq8l0QUtJNpEJAWdbFQUzw/k+r0 uxENkXkLuSWofz8pja88kyK5PK6EDam/fnDVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ez0IDRF58mBEAL6KaCii6CvuIKsbdFne57rLUVDeeX3PH+wrDRQk7ev5xRGMXA/WEy rl9r4UzGl97hOSim1zPIheGUrF8ZKRXaOIf6e81dbnUDhJcVcd2j02wpuLfSqCG8Bqge 2bUqhPInxJGT0sKB5FPs5atfocRAjgJnSjK2s= MIME-Version: 1.0 Received: by 10.204.163.65 with SMTP id z1mr568841bkx.65.1274525730004; Sat, 22 May 2010 03:55:30 -0700 (PDT) Received: by 10.204.126.150 with HTTP; Sat, 22 May 2010 03:55:29 -0700 (PDT) In-Reply-To: <744186.88081.qm@web51105.mail.re2.yahoo.com> References: <744186.88081.qm@web51105.mail.re2.yahoo.com> Date: Sat, 22 May 2010 06:25:29 -0430 Message-ID: From: Alberto Mijares To: Dino Vliet Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions Subject: Re: question regarding FTP_PROXY X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 10:55:32 -0000 On Sat, May 22, 2010 at 6:07 AM, Dino Vliet wrote: > Hi freebsd folks, > > I'm having troubles installing some ports because I'm behind a restrictive pf firewall. I've heard that this could > be circumvented if I use a ftp_proxy. I have this debian server that can access ftp sites and I installed vsftp on > that and checked I can get to that box with ftp. > > However, if I try this command from my freebsd box: > > fetch: ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-4.0.3.tar.gz > > I get: > > "Not logged in" > > My ftp proxy environment variable in .profile is: > > FTP_PROXY=ftp://ftp:ftp@192.168.2.101:21 (also tried with only ftp://192.168.2.101:21 but no luck) > export FTP_PROXY I think you should set FTP_LOGIN and FTP_PASSWORD whith propper credential, or set them whithin the URL. See man(3) fetch. Regards Alberto Mijares