LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2007, 12:38 PM   #1
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Rep: Reputation: 15
ftp clients not able to reach internet


Dear Friends,

Hello ! I need your help in sorting out an issue :

I have squid proxy server up and running nicely. Some of the client PCs on our internal network need command line (and sometimes they use client like gftp) access to some ftp sites on the internet. With present setup they are not able to do that. The squid server has two ethernet cards- eth0 connected to ADSL modem and eth1 connected to internal network. Please note that we are not running any iptables script as of now !!

Also another issue is that I do not want to run in "Transparent Proxy" mode as in that the entire purpose of using squid (( to have content filtering and caching) is defeated.Also we may not be in a position to open secured sites in transparent proxy mode.

Can some one help in resolving my problem ?




regards
rajesh.bahl
 
Old 05-23-2007, 01:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i guess you don't actually appreciate what a transparent proxy is? squid in that mode will filter and block just fine, it just won't allow user specific authorisation and such. i think you're actually talking about routing, which is nothing to do with proxies in the slightest. squid apparently can't do transparent ftp proxying anyway, so either you use squid as an explicit proxy, or allow ftp connections to route through, or find a server that will.
 
Old 05-24-2007, 11:22 AM   #3
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Original Poster
Rep: Reputation: 15
ftp clients not reaching the internet

Very right !! My requirement is that along with squid proxy, I need my clients to be able to reach ftp sites through command line or through ftp client software like gftp.

I am sure there must be some solution to do that---- may be by running some kind of iptables script.

Why ftp port gets blocked after squid is put to action ?



regards
rajesh.bahl
 
Old 05-24-2007, 01:07 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
squid doens't block ftp, that is not correct / possible. you sound like you simply need to enable ip forwarding and masquerading on the box, a very stndard thing to want. just search this site for "ip_forward masquerade" and you'll find plenty of hits.

Last edited by acid_kewpie; 05-24-2007 at 01:09 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN Traffic (Ping, HTTP, FTP) Cannot reach External IP (but can internet) Jkm3141 Linux - Networking 9 04-05-2007 07:46 AM
FTP through Router/Can not reach my PC from outside world? sizmit Linux - Networking 3 12-11-2005 04:10 PM
cannot reach internet from private LAN toodr Linux - Networking 12 10-23-2005 07:44 PM
RH8.0 - Can not reach the internet donhoudek Linux - Newbie 1 11-21-2002 08:25 AM
Can someone help me reach the Internet!!!??? AMDPwred Linux - General 8 12-23-2001 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration