Skip to contentSkip to conversation

ftp

DISCUSSION azeem ahmad 3 participants 4 messages May 19, 2004 – May 21, 2004

lore
Share & tools
lore
#0 lore raw

hi all
i m unable to browse ftp. it says
---------------------------------------------------------------------------------------------------------------------------------------
an error occured opening that folder on the ftp server. make sure you have permissions to access that folder details
200 type set to A
500 Illegal port command
500 LPRT not understood
--------------------------------------------------------------------------------------------------------------------------------------

while i m running with this only one iptables rule

iptables -t nat -A POSTROUTING -j MASQUERADE

there is no other rule in my firewall in any table any chain. every other things are being masqueraded well

Regards
Azeem

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

#1 lore raw
Quoted 8 lines · azeem ahmad

hi all
i m unable to browse ftp. it says
an error occured opening that folder on the ftp server. make sure you have permissions to access that folder
details
200 type set to A
500 Illegal port command
500 LPRT not understood

Do you get the same error when accessing the server from a machine not via the netfilter firewall (eg localhost, or some other client on the same subnet)?

Regards,

Antony.

Signature · 4 lines
RTFM may be the appropriate reply, but please specify exactly which FM to R.

                                                     Please reply to the list;
                                                           please don't CC me.
#2 lore raw
In reply to azeem ahmad
Quoted 1 line · azeem ahmad

iptables -t nat -A POSTROUTING -j MASQUERADE

Sorry - I forgot this bit in my last posting...

It would be a good idea to restrict the above rule to only your external interface:

iptables -A POSTROUTING -t nat -o $extIF -j MASQUERADE

Regards,

Antony.

Signature · 6 lines
Software development can be quick, high quality, or low cost.

The customer gets to pick any two out of three.

                                                     Please reply to the list;
                                                           please don't CC me.
#3 lore raw
In reply to azeem ahmad
Quoted 10 lines · azeem ahmad

hi all
i m unable to browse ftp. it says
---------------------------------------------------------------------------------------------------------------------------------------

an error occured opening that folder on the ftp server. make sure you have permissions to access that folder details
200 type set to A
500 Illegal port command
500 LPRT not understood
--------------------------------------------------------------------------------------------------------------------------------------

By any chance are you browsing with IE?

If so, go into Tools->Internet Options->Advanced and check the box to enable: "Use Passive FTP (for firewall and DSL modem compatibility)", then click OK.

If not, ignore me ;)

Signature · 1 line
Andrew E. Mileski