cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
253
Views
0
Helpful
1
Replies

open IP to on specific port

Lajja1234
Level 1
Level 1

Hi!

I have one internal IP and two external IP adresses. I want to use one adress for allowing mail to my server and one address for sending mails to mobile phones.

I am not sure about how the NAT should look like. The ACL is no problem since I have two public adresses.

How do i NAT specific ports for specific adresses? 

10.1.1.2 should be NATted to 15.15.15.15 port 34

10.1.1.2 should be NATted to 15.15.15.16 port 443

/Lajja

1 Reply 1

Eddy Duran
Level 1
Level 1

Hello,

If you are running version 8.3 or above, you can apply the following commands:

object network obj-10.1.1.2.34

host 10.1.1.2

nat (Inside,Outside) static 15.15.15.15 service tcp 34 34 nds:

object network  obj.10.1.1.2.443

host 10.1.1.2

nat (Inside,Outside) static 15.15.15.16 service tcp 443 443

If you are running version 8.2 or less, you will need to apply the following commands:

static (Inside,Outside) tcp 15.15.15.15 34 10.1.1.2 34


static (Inside,Outside) tcp 15.15.15.16 443 10.1.1.2 443

Let me know how it goes.


Review Cisco Networking products for a $25 gift card