MidnightWizard
Executive Member
- Joined
- Nov 14, 2007
- Messages
- 5,720
All the clever Cisco guys
As I am sure you all know FTP does not work too well through NAT without some form of port forwarding ( PAT )
I found this tutorial for allowing access to an FTP server behind a natted connection.
Forwarding a Range of Ports for Passive FTP
Basically there are four parts to this recipe
OK straight forward enough for an ( inside ) FTP SERVER
What would be different if an OUTSIDE FTP *Server* wanted to contact an INSIDE FTP *Client*.
The incoming port request would initially be from 21 -- to connect to an arbitrary natted port.
On WHAT ports would the incoming PASSSIVE request negotiation be
I have something similar to this setup -- works OK with ACTIVE but not with PASSIVE
Trying to find the solution -- but -- brain is stuffed after the flu.
I suspect it has something to do with reversing the port allocation because the flow is different.
Anyone .......
( looking heavenward)
As I am sure you all know FTP does not work too well through NAT without some form of port forwarding ( PAT )
I found this tutorial for allowing access to an FTP server behind a natted connection.
Forwarding a Range of Ports for Passive FTP
Basically there are four parts to this recipe
Code:
access-list 100 permit tcp any gt 1023 host xx.xx.xx.xx eq ftp
access-list 100 permit tcp any gt 1023 host xx.xx.xx.xx eq ftp-data
access-list 100 permit tcp any host xx.xx.xx.xx range 50000 50010
Code:
ip access-list extended PASSIVEACL
remark Standard FTP Data and Comms
permit tcp any any range 20 21
remark Extra Ports for Passive Use Only
permit tcp any any range 50000 50010
Code:
ip nat pool PASSIVEFTP 10.0.0.28 10.0.0.28 netmask 255.255.255.0 type rotary
Code:
ip nat inside destination list PASSIVEACL pool PASSIVEFTP
OK straight forward enough for an ( inside ) FTP SERVER
What would be different if an OUTSIDE FTP *Server* wanted to contact an INSIDE FTP *Client*.
The incoming port request would initially be from 21 -- to connect to an arbitrary natted port.
On WHAT ports would the incoming PASSSIVE request negotiation be
I have something similar to this setup -- works OK with ACTIVE but not with PASSIVE
Trying to find the solution -- but -- brain is stuffed after the flu.
I suspect it has something to do with reversing the port allocation because the flow is different.
Anyone .......