Discussion Locked

Proxy Server

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Could somebody please tell tell me how to set up proxy server to allow me to ftp out.

5 replies

by ronypp

I am not sure which proxy server you are using. But in any proxy server if you want to FTP out then the PORT 21 should be enabled.

by patrick.prue

Dependant on the product which you are utilizing the setup will be slightly different.
But as far as port settings.
For PASV Ftp you will need to enable tcp/21
for Active FTP sessions you will also need tcp/20 for the data connection but in alot of product the proxy type can simply be set as tcp/21 with the type = ftp so it automatically knows to open the data channel on tcp/20 as well
Within the Squid proxy in the squid.conf file the following lines will enable ftp

# FTP User setting for FTP connections through the proxy. Doesn't need to be touched.
ftp_user squid@proxy.cache

# FTP List setting. Doesn't need to be touched.
ftp_list_width 32

# Enables FTP passive setting. Change if you're having problems.
ftp_passive on

This discussion is closed to new replies.