Solved

How do I add an IP for FTP on Squid?

Posted on 2014-09-15
3
311 Views
Last Modified: 2014-09-16
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.
0
Comment
Question by:RSchalhoub
3 Comments
 
LVL 1

Accepted Solution

by:
Serafin Rusu earned 500 total points
ID: 40323949
add this to /etc/squid.conf
"
acl squidclient2 src 64.38.xx.xx/32
http_access allow squidclient2
"

make sure you put these 2 lines before:
"
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
"

I don't know how this will help your vendor, but this is the way.
0
 
LVL 9

Expert Comment

by:nattygreg
ID: 40324322
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
0
 
LVL 13

Expert Comment

by:Sandy
ID: 40324571
don't forget to reload or restart your squid after making above changes.

Ty/SA
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now