Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Natting from outside to inside

Hi Folks,

I need a  little help, how do I nat from outside to inside? I need to allow connection to my outside ip address from SIP provider and then pass it to the sip server which has a private/internal.

Thank you in advanced I appreciate it.

JP

3 REPLIES
New Member

Re: Natting from outside to inside

Hi Joseph,

you can do the following commands;

1.  ip nat inside source static SIP_INTERNAL_IP interface OUTSIDE_INTERFACE

        i use the outside interface IP, our you can use the same subnet IP of your outside interface connected to your ISP.

or if you want to specify only the specific ports for SIP to SIP communications, but this is applicable to TCp

2. ip nat inside source static tcp SIP_INTERNAL_IP PORT interface OUTSIDE_INTERFACE PORT

hope it answers your question.s

marlon

Re: Natting from outside to inside

Hello,

This is just an example for port 23 (telnet)

interface e0
description LAN interface
ip address 10.10.10.254 255.255.255.0
ip nat inside

interface s0
description WAN interface
ip address 172.16.130.2 255.255.255.0
ip nat outside

ip nat inside source static tcp 10.10.10.1 23 172.16.130.2 23

Meaning that any packet received on destination 172.16.130.2 port 23/TCP
will be forwarded to internal server 10.10.10.1 on port 23/TCP

You have to adjust this example to fit your scenario (IP, PORT, PROTOCOL)

I hope this helps you!

Re: Natting from outside to inside

Hi Folks,

I need a  little help, how do I nat from outside to inside? I need to allow connection to my outside ip address from SIP provider and then pass it to the sip server which has a private/internal.

Thank you in advanced I appreciate it.

JP

Hi JP,

Check out the below link for natting configuration on Cisco with various types, Hope to Help !!

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

Ganesh.H

165
Views
0
Helpful
3
Replies
CreatePlease login to create content