cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
402
Views
0
Helpful
3
Replies

NAT internal router across ASA

iholdings
Level 1
Level 1

We have an internal router in our network with three hosts behind it. I need to know how to NAT an external IP address across our ASA - in essence to allow remote access to each host in turn behind the internal router. Is this possible? I've done single NATs to a single internal host, but haven't a clue how to do this with the internal router IP providing access to multiple hosts.

Thanks

3 Replies 3

acomiskey
Level 10
Level 10

I think this is what you're asking for...

static (inside,outside) external.ip.1 host.ip.1 netmask 255.255.255.255

static (inside,outside) external.ip.2 host.ip.2 netmask 255.255.255.255

static (inside,outside) external.ip.2 host.ip.2 netmask 255.255.255.255

Then just make sure the ASA has a route to the host network.

route inside host.network.ip mask router.ip

The internal network is defined as 172.16.0.0/16. The router is assigned an IP from this network. The hosts behind the router are network 192.168.x.x/24 (creating a private network within the local subnet).

What you suggest appears to be individual NATs for each of the three hosts. What I need is to NAT just the router IP - but through that single NAT - provide remote access to each host behind the router. It seems this could be done, but I'm not sure how to configure the ASA and/or the router for this set-up. Thanks.

You could do that easily with different ports.

static (inside,outside) tcp x.x.x.x port1 192.168.x.x port1 netmask 255.255.255.255

static (inside,outside) tcp x.x.x.x port2 192.168.x.x port2 netmask 255.255.255.255

static (inside,outside) tcp x.x.x.x port3 192.168.x.x port3 netmask 255.255.255.255

Review Cisco Networking products for a $25 gift card