12-08-2005 01:16 AM - edited 03-03-2019 01:03 AM
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 ?
12-08-2005 03:19 AM
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
ip nat inside source static tcp 192.168.1.101 25
12-08-2005 04:24 AM
So I gather you can NAT and PAT to the same public ip address ? also whats the extenable command used for ?
12-08-2005 04:42 AM
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
12-08-2005 05:51 AM
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
12-08-2005 07:47 AM
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
12-08-2005 12:01 PM
carl,
the code i previously posted should address your issue. please give it a go.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide