FTP Passive - non-default port - CISCO ISR 4321
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2021 06:44 AM - edited 05-14-2021 06:45 AM
Hi,
I have two FTP servers that are used for Azure Pipelines. First is working on default port number 21 and it's working fine without any issues. I don't even have to forward port range for data conection (I had to do it on old CISCO 2901 router to make it work on both default and non-default ports) like
ip nat pool VILEO 192.168.0.223 192.168.0.223 netmask 255.255.254.0 type rotary
ip nat inside destination list 102 pool VILEO
access-list 102 permit tcp any any range 30000 65535
The only thing I had to do was just to forward port 21. But with second FTP on non-default port 23223 I'm getting an error
##[error]Can't open data connection in passive mode: connect ECONNREFUSED 91.222.69.28:58780
I tried to do same thing as on old router, but with no success.
- Labels:
-
ISR 4000 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2021 04:33 AM
https://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/13776-6.html
This soloved my problem. You can close this topic.
