Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-25-2005, 12:33 AM   #1
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
squid iptables ftp ----- > problem

i posted allot of threads related to ftp and iptables but unable to resolve problem yet. i am using fc4 and rhel 4.

current configuration

1. removed all rules and default policy to ACCEPT
2. only squid is running

ftp_passive on
ftp_sanitycheck on

acl home
http_access allow home

3. no protocol restriction/block

clients are able to browse any http site and ftp sites.
e.g ftp site

but a client using its personal ftp server on net with username/password authentication.

he is getting ftp problem. the error meesage is

"Windows cannot access this folder. Make sure you typed the file name correctly an that you have permission to access the folder Details: The operation timed out"

i am using anonymous user the default of MSIE,
but when i use dialup on system directly connected on internet the ftp server prompts for username and password.

and when i am behind linux squid windows system doesn't prompt me for authenticaion and gives above problem.

note that i flushed all rules. but in problem.
if i use only this rule

[B]iptables -t nat A POSTROUTING -j MASQUERADE [\B]
every thing works fine. and i don't want to use nat.

if any one knows this problem please help me.
Old 12-25-2005, 05:03 PM   #2
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
Regarding the sites that user's can't access, what happens if they try embedding the username into the URL of the ftp site?
For instance, if they want to access the ftp site named , with the username of "joe", they would use the following URL:

It should then prompt them for the password that corresponds to the username "joe".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with squid and iptables myheart Linux - Networking 2 01-13-2005 08:34 PM
Squid and FTP servers - very strange and urgent problem Zingaro2002 Linux - Networking 1 11-10-2003 05:37 AM
iptables and squid batfink Linux - Networking 3 09-15-2003 03:51 PM
Squid ftp problem kelper Linux - Software 1 06-20-2003 04:47 AM
ftp and ftp port forwarding with IPtables?? FunkFlex Linux - Security 3 04-24-2002 04:03 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:37 PM.

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