View Single Post
  #1  
Old 12th June 2007, 10:54
munirg2003 munirg2003 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access authenticating FTP sites using FTP Clients on XP clients via SQUID

Hi There!


- I have xp clients and Linux Server(having two LAN Cards Eth0-connected to my LAN and

Eth1-connected to my WAN) with squid(configured at port 8080). Everything is working fine

and internet is perfect on client machines. Even anonymous ftp sites are opening in

internet explorer.But problem is to access my official ftp site with username and password.

- I have some ftp client software i.e., old ws_ftp 95 or FileZilla to upload my data on my

ftp website. These clients (using passive mode) work fine when i had Windows Server 2003

with ISA server 2004. But our policy changed and now we use LINUX ES 4 with Squid 2.6

stable for internet sharing.

- Now when i use command based ftp on Linux server(Using #ftp ftp.mysite.com, It asks

#UserName? and #Password?) it connects and uploads data. But when i try to connect from

client XP machines either through command prompt or ftp client softwares, it doesn't

connect.

- Somebody told me to use iptables to open ports for forwarding your requests so i used

following commands on Linux Server but failed.

#iptables -A INPUT -s 192.168.7.0/24 -p tcp --dport 20 -j ACCEPT
#iptables -A INPUT -s 192.168.7.0/24 -p tcp --dport 21 -j ACCEPT


#iptables -A OUTPUT -d WAN-IP -p tcp --sport 20 -j ACCEPT
#iptables -A OUTPUT -d WAN-IP -p tcp --sport 21 -j ACCEPT

#iptables -A FORWARD -s 192.168.7.0/24 -d WAN-IP -p tcp --dport 20 -j ACCEPT
#iptables -A FORWARD -s 192.168.7.0/24 -d WAN-IP -p tcp --dport 21 -j ACCEPT

#service iptables save

- Somebody sujjested to use frox, again i tried but failed.

- Somebody help me in easy steps please.


Munir Ahmad
Reply With Quote
Sponsored Links