Solved

Port Mapping Question

Posted on 2011-03-03
1
328 Views
Last Modified: 2013-11-05
Hello,

I have a question regarding port mappings/redirecting. I have a web application that uses port 8000. I have a private IP mapped to a Public IP, and I want to know if it's possible for users who access this application and not have to type in the ip address and then the port 8000 following or have to type domain name and then port 8000. Can I configure something on the FW or even the DNS end on Windows so that users will only have to type in the ip address or domain name (not needing to type in port 8000 afterwards) to access the application?
Thank You in advance to anyone who assists.
0
Comment
Question by:johnsink
1 Comment
 
LVL 33

Accepted Solution

by:
MikeKane earned 500 total points
ID: 35029389
You could do a port forward for this on the ASA/PIX.  

One thing to know is that you can not have a 1 to 1 static NAT and a 2nd port forward going to the same internal IP.  It's one or the other.  

So, you would need to configure DNS A record for webapp.domain.com to point to an IP, (for this example 10.1.1.1)  

The ASA accepts inbound traffic on 10.1.1.1 on 80 then port forwards it inside to your host on, say, 192.168.1.10 on port 8000  


It would look something like this:

static (inside,outside) tcp 10.1.1.1 80 192.168.1.10 8000
access-list outside_in extended permit tcp any host 10.1.1.1 eq http
access-group outside_in in interface outside

Here's more info:
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00804708b4.shtml
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

There are many useful and sometimes not well documented or forgotten IOS or ASA/PIX commands. See IPE article here , there was also one on PacketU and on Cisco Tips & Tricks. Below are my favorites. I give also a few most often used for Cisco IPS an…
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…
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 …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

749 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