Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

502 Illegal PORT Command

Status
Not open for further replies.

spinto

Technical User
Dec 30, 2001
4
US
Hi,

I am running RH 7.2 and have setup Wu-Ftpd to except anonymous ftp connections from a separate dir.

I have 2 win9x boxes and the linux box behind a Linksys BDFSR41 Router.

I have forwarded ports 2121 from the linux box.

I have edited the /etc/services file so FTP is listening on port 2121.

I have edited the /etc/ftpaccess file allowing anonymous access.

Now if I use my ftp client and access the linux box using 192.168.***.*** I have no problems.

But when I use my ftp client and access the linux box from the other side of the linksys I get the message,
"502 Illegal PORT Command"

If I type ftpwho on the linux box it shows me idle.

What am I missing here?

I am real new to Linux, but am begining to really like it.

Thanks in advance,

Andy,

P.S. please don't tell me I will need to reboot, I get a kick out of running top and seeing up 32 days, 13:35 :)
 
Ftp uses data and command channels which are 20:21.
Unless you want to break things badly I would suggest not
messing with this.

There is a linux server forum here that is more responsive
to these requests I would think BTW.

For further issues with this.
An excellent article here for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top