LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-24-2005, 11:33 PM   #1
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 517

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_user squid@home.net
ftp_passive on
ftp_sanitycheck on

acl home 10.0.0.0/8
http_access allow home

3. no protocol restriction/block

clients are able to browse any http site and ftp sites.
e.g
ftp://204.152.191.5/pub/software/web/bwgraph/
kernel.org 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, 04:03 PM   #2
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 31
Ammad:
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 files.stuff.com , with the username of "joe", they would use the following URL:
ftp://joe@files.stuff.com

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


Reply


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


All times are GMT -5. The time now is 08:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration