Re: Can't open FTP data connection

From: nhatphuc (nhatphuc@gmail.com)
Date: Wed Jan 23 2008 - 15:16:56 ARST


Hello,

I've configured like in your link, but it doesn't work.

I think the configuration in your link is used for non-standard port on
internal server, not for external port.

My configuration:

ip nat inside source static tcp 192.168.1.2 20 interface Dialer1 20
ip nat inside source static tcp 192.168.1.2 21 interface Dialer1 210
ip access-list stand SERVER
 permit 192.168.1.2
ip nat service list SERVER ftp tcp port 210

Another issue: I want to remove the ip nat service list SERVER ftp tcp port
210 command but the router says this:

Router(config)#no ip nat service list SERVER ftp tcp port
210
% service "ftp tcp port 210" doesn't exist for access-list SERVER

Please help

Thanks

Phuc

On Jan 23, 2008 12:26 PM, Farrukh Haroon <farrukhharoon@gmail.com> wrote:

> Have a look at this:
>
>
> http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094e76.shtml
>
> Regards
>
> Farrukh
>
> On Jan 22, 2008 8:23 PM, nhatphuc <nhatphuc@gmail.com> wrote:
>
> > Hi Group
> >
> > I want to nat an FTP server in my inside network.
> >
> > If I nat like this:
> >
> > ip nat inside source static tcp 192.168.1.2 20 interface Dialer1 20
> > ip nat inside source static tcp 192.168.1.2 21 interface Dialer1 21
> >
> > Everything works well
> >
> > But If I nat to port 210 on the outside, it doesn't work:
> >
> > ip nat inside source static tcp 192.168.1.2 20 interface Dialer1 20
> > ip nat inside source static tcp 192.168.1.2 21 interface Dialer1 210
> >
> > Total commander stops responding when downloading file list. FTP Server
> > says
> > it couldn't connect to peer, client says can't open data connection. I'm
> >
> > using active FTP.
> >
> > Why is it so? And how do I fix it?
> >
> > Thanks
> >
> > Phuc
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:38:01 ARST