Hey i am a bit confused about port forwarding and how is suppose to work.

In the lab , i set up VPN access to the outside interface and that works find. Users contacting the outside interface of ASA with ip are prompted to download cisco any connect etc. This is done when a user types the ip in the browser and automatically gets redirected to a https page. port 443

Now i want users from the outside to have access to my DMZ server services HTTP and FTP. Users by typing the http: // or ftp: // to get access to dmz services. Is it possible or i have to use another ip like .

After watching tutorials for some hours now i have to admit i am more confused that before :)

  • I am using an ASA5510,SSM-10 Version 8.4(2)
    – blended
    Jan 8, 2014 at 13:26
  • 1
    Some ideas for helping us help you Jan 8, 2014 at 13:28
  • 1
    @MikePennington I am not looking for someone to configure the device for me , some guidelines , best practices , or if i am completely off some reading resources. Well in the end if is something too complicated i will update the question with all my nat/port forwarding and firewall rules with all the syslog information. So far i am mostly using asdm build in packet tracer to verify the configuration:)
    – blended
    Jan 8, 2014 at 13:35

2 Answers 2


Clients can download the software vpn client only if they access the ip via https port 443, i.e., unless there is automatic redirection from http to https at the client.

Therefore ports 80 http and ftp on the same ip address are free for you to use, take a look at the section: Single Address for FTP, HTTP, and SMTP (Static NAT-with-Port-Translation) in Cisco ASA Firewall configuration guide.



You can do a static PAT (Port Address Translation) to forward specific ports for an IP (including the ASA's interface IP) to different internal devices. You can do this for any port, but each port can only be forwarded to one internal device using a static PAT statement. For example, assuming you have something like:

interface Ethernet0/2
 nameif dmz
 ip address
 security-level 50

Then you will create an object for your DMZ host and use a static "nat" statement with the service keyword to create a port-level static PAT for your object, like so:

object network DMZHOST
 nat (dmz,outside) static interface service tcp ftp ftp

Your DMZ host will now be accessible at ftp: // This is well documented in the Cisco ASA Configuration Guide.

If you're using AnyConnect running on TCP 443 (the HTTPS) port, then you cannot static PAT that to another internal/DMZ host or else you'll break AnyConnect. In that case, you can run AnyConnect on a different port:

 port 8443

In this way, your AnyConnect would be accessible at https: // Or you can NAT a different external port to port 443 on your internal host, like this:

object network DMZHOST
 nat (dmz,outside) static interface service tcp 443 8443

This would make your DMZ host accessible at https: //, but your web server on the host itself would continue to run on port 443.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.