cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
414
Views
0
Helpful
6
Replies

port forwarding

carl_townshend
Spotlight
Spotlight

can anyone tell me why i would use this, Is this used with PAT, i.e if im hosting a web server, mail server at home etc, on my router I would simply point these ports to the ip of the servers etc ?

6 Replies 6

jackko
Level 7
Level 7

below are the sample codes:

ip nat inside source list 100 interface Dialer1 overload

ip nat inside source static tcp 192.168.1.100 80 80 extendable

ip nat inside source static tcp 192.168.1.101 25 25 extendable

So I gather you can NAT and PAT to the same public ip address ? also whats the extenable command used for ?

Hi

Yes you can based on the requirements in the network.

i mean PAT here as static port translation here which u do for enabling the access to the static servers kept in ur local lan.

The same will be accessed on those ports which will be mapped with the public ips port..

Obviously you do NAT too in the same case thats is your private subnet space ip to one public ip space to give the access.

If you have the server simply in the private network space it wont be accessible from outside public world..

also refer this link for more queries on NAT...

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_q_and_a_item09186a00800e523b.shtml#Q14

regds

Can you give me an example of using pat and nat on the same router then please, i.e 1 public ip, 2 servers, web and mail and full access to internet from my network ?

thanks

Carl

hi

do refer the link which has the sample configs related to ur query...

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

regds

carl,

the code i previously posted should address your issue. please give it a go.