Link to home
Start Free TrialLog in
Avatar of RSchalhoub
RSchalhoubFlag for United States of America

asked on

How do I add an IP for FTP on Squid?

I am trying to work with a software vendor to set up software that uploads specific data via FTP to their facility.
This is coming from a satellite facility that connects through a proxy (Squid) located at our main location.

The vendor has suggested that I add their IP address to Squid to allow two way communication.
Is this correct and if it is, how do I add it?
IP = 64.38.XXX.XX for port 21
I am a novice at configuring Squid and I have spent time googling it, but I have not had much luck.
ASKER CERTIFIED SOLUTION
Avatar of Serafin Rusu
Serafin Rusu
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Natty Greg
Here you go

[root@server ~#]vi /etc/squid/squid.conf
acl SSL_ports port 443 21                 #(Edit add the ftp port 21 to SSL port acl)
acl ftp proto FTP                              #(Create a new acl for ftp protocol)
http_access allow ftp                       #(Allow browsing above created ftp acl)
#save the squid.conf file
don't forget to reload or restart your squid after making above changes.

Ty/SA