[afnog] Port forwarding FTP

Benjamin Cobblah cbnayai at yahoo.co.uk
Wed Oct 6 15:38:18 UTC 2010


Dear All,

I know this might be the lamest question I have ever asked but has anybody port 
forwarded an internal ftp server before?
If yes i would be grateful if you could share your experience because I'm stuck

Scenario.
I have an internal ftp on my lan and need someone to upload some data into it 
 from across the globe.

This is my conf on my router
****************************************************
ip nat inside source static tcp X.X.X.X 20 Y.Y.Y.Y 20 extendable
ip nat inside source static tcp X.X.X.X 21 Y.Y.Y.Y 21 extendable
ip nat inside source static tcp X.X.X.X 22 Y.Y.Y.Y 22 extendable

access-list 101 remark permit ftp
access-list 101 permit tcp X.X.X.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp X.X.X.0 0.0.0.255 any eq ftp
access-list 101 remark permit ssh
access-list 101 permit tcp X.X.X.0 0.0.0.255 any eq 22
********************************************************
Where X.X.X.X is the internal ip and Y.Y.Y.Y is my public ip

Both ftp and sftp at the moment does not work

I would be grateful if anyone could help.

Best regards,

Benjamin


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20101006/47b49afe/attachment.html>


More information about the afnog mailing list