question regarding FTP_PROXY

Alberto Mijares amijaresp at gmail.com
Sat May 22 10:55:32 UTC 2010


On Sat, May 22, 2010 at 6:07 AM, Dino Vliet <dino_vliet at yahoo.com> 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


More information about the freebsd-questions mailing list