How to configure the port-forwarding in ASA 5520?

Posted on 2011-10-13
Medium Priority
Last Modified: 2012-05-12
This is using Cisco ASA 5520 firewall. Currently, an exchange server is configure to port-forwarding for www, https, pop3, smtp,etc with public IP - x.x.x.c for exchange server - serverc. Now I set up a ftp server in serverb, and wanted to port-forwarding to public ip - x.x.x.e, how to do it?

Thanks in advance...
Question by:MezzutOzil
  • 4
  • 2
LVL 35

Accepted Solution

Ernie Beek earned 1500 total points
ID: 36964292
I think something like:

object network Servere
 host 10.170.32.x
object network PublicIP-x.x.x.e(ftp)
 host x.x.x.e
object-group service ftpServicesGroup
 service-object tcp destination eq wftp
object-group network DM_INLINE_NETWORK_2
 network-object object PublicIP-x.x.x.e(ftp)
 network-object object Servere
access-list outside_access_in extended permit object-group ftpServicesGroup any object-group DM_INLINE_NETWORK_2
nat (inside,outside) source static Servere PublicIP-x.x.x.e(ftp) service ftp ftp
LVL 35

Expert Comment

by:Ernie Beek
ID: 36964300
Oops, typo, should be:

object-group service ftpServicesGroup
 service-object tcp destination eq ftp

Author Comment

ID: 36966037
Hi erniebeek,

Thanks for the command. Just wondering can I apply the same thing through GUi?
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.


Author Comment

ID: 36980751
Hi erniebeek,

Pls see the latest configuration file. Ftp service still not able to access from the Internet...

Author Comment

ID: 36987417
Add in:

 nat (inside,outside) source static serverb PublicIP-x.x.x.c(ftp) dns

And it works

Author Closing Comment

ID: 36987424
Thanks you very much, erniebeek.

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question