Accessing FTP site using FTP Clients s/w on XP machines.
My scenario is: -
- I have xp client machines with proper proxy settings. Internet is running well. Plus client ftp software i.e., Ws-ftp95 or FileZilla.
- I have Linux ES-4 with Squid 2.6-13 stable installed by me with customized options i.e; --enable-arp-acl and --enable-delay-pools etc etc. The same server has two Ethernet Interfaces i.e., Eth0 (Connected configured to my internal LAN) and Eth1 (Connected to External broadband WAN)
Now we want to upload our files from client machines using ftp client browsers mentioned above but it is not connecting to site. Eventually i have to sit on server and have to use ftp command line command to upload data and it uploads perfectly after verifying user name and password. Even i tried this as you told me but all in vain: -
#iptables -A INPUT -s myLanNetID -p tcp --dport 20 -j ACCEPT
#iptables -A INPUT -s myLanNetID -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 myLanNetID -d WAN-IP -p tcp --dport 20 -j ACCEPT
#iptables -A FORWARD -s myLanNetID -d WAN-IP -p tcp --dport 21 -j ACCEPT
#service iptables save
- Please let me know the correct solution in easy steps.
what does the iptables logging show when you attempt to ftp??
Which FTP mode are you using with ftp client?
The above rules will not work with Passive FTP.
I did my best through web and manual but
I searched the web and manual but i did'nt get to know how to check iptables logging?
I have tried both active and passive mode but failed. Even changed status in squid and ws_ftp95 differently but no work.
Thnx for telling me the correct way to ask question. Onward i will follow!
Well, to monitor the log file you'd do something like:
BTW, you were asked by mintojoseph whether you were doing active or passive transfers. It's an important question.
PS: I've removed the word "urgent" from the thread title.
|All times are GMT -5. The time now is 09:00 AM.|