question regarding FTP_PROXY

2010-05-22 Thread Dino Vliet
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:f...@192.168.2.101:21 (also tried with only 
ftp://192.168.2.101:21 but no luck)
export FTP_PROXY

Can anyone help me with this?
Thanks
Dino



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question regarding FTP_PROXY

2010-05-22 Thread Alberto Mijares
On Sat, May 22, 2010 at 6:07 AM, Dino Vliet dino_vl...@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:f...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org