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

Redirecting traffic w/ NAT

m.matteson
Level 2
Level 2

Well suffice it to say i have moved onto the next step of NAT after tackling the last problem. It was solved thanks to much help from thisisshanky. anyways to be honest the terms are confusing me. i'm at the point now where i want to redirect traffic and ports. i have one public ip. for example say i have two internal servers one email and the other web. how would i redirect traffic bound for my public ip 10.10.10.10:80 and 10.10.10.10:25 to the appropirate internal servers?

where i get confused is when i get to the command line and have

RouterA(config)#ip nat ?

inside Inside address translation

outside Outside address translation

now which one do i pick. do you pick inside if your redirecting traffic going inside to outside or ouside to inside? also when do i choose outside? when traffic outside coming in? or traffic inside going out?

also when i get by that part you have a source and destination. the descriptions next to the coomands don't help much you could enlighten me some more? thanks! i mean is it the destination on the internal or external network? etc also i didn't see an option for icmp, only tcp and udp

1 Reply 1

thomas.chen
Level 6
Level 6

Regarding the commands:

ip nat inside is applied on the inside interface of the Router.i.e the interface on which the internal servers are located and natting is done for the traffic from inside going out.The ip nat outside command is applied on the outside interface or the interface through which the router connects to the Internet and the translation is done for traffic coming from outside to inside.

Inside network-------------Router---------------outside

(inside int) (outside int)

This doc might help you too.

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094831.shtml