×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

port forwarding

Unanswered Question
Dec 8th, 2005
User Badges:

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 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
jackko Thu, 12/08/2005 - 03:19
User Badges:
  • Gold, 750 points or more

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

carl_townshend Thu, 12/08/2005 - 04:24
User Badges:

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

spremkumar Thu, 12/08/2005 - 04:42
User Badges:
  • Red, 2250 points or more

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


carl_townshend Thu, 12/08/2005 - 05:51
User Badges:

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

jackko Thu, 12/08/2005 - 12:01
User Badges:
  • Gold, 750 points or more

carl,


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

Actions

This Discussion