Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to route multiple ports to one port (NAT/PAT)

1 view
Skip to first unread message

velc...@hotmail.com

unread,
Mar 1, 2008, 4:21:39 AM3/1/08
to
Hello,

I have a NAT setup on my Cisco router to route any inbound traffic on
SIP (VOIP) port 5060 to my voip server. During my business trip I
realized that port 5060 is blocked by many ISPs. So, now I want to
route another port (Say, 8000) to my voip server's 5060 port.

The trouble I have is as following:
ip nat inside source static tcp 192.168.0.15 5060 interface
FastEthernet4 5060
ip nat inside source static tcp 192.168.0.15 5060 interface
FastEthernet4 6000

The second line is overwriting the first one. I believe PAT is the
answer, but I do not know how to do it.

Any input will be highly appreciated.

Thanks.

Ash

Yandy Ramirez

unread,
Mar 2, 2008, 12:22:15 AM3/2/08
to
They are not overriding each other, otherwise the router will not even let
you put it in. What is happening though is that you need to setup your
clients (phones) to talk to destination (whatever interface f4 is) and
destination port 6000.

The router will then receive the incoming packet to 6000 and convert it to
192.168.0.15 5060.

CYA


On 3/1/08 4:21 AM, in article
999919e3-fc01-4b5a...@u10g2000prn.googlegroups.com,

velc...@hotmail.com

unread,
Mar 2, 2008, 1:15:36 AM3/2/08
to
On Mar 2, 12:22 am, Yandy Ramirez <kidman...@gmail.com> wrote:
> They are not overriding each other, otherwise the router will not even let
> you put it in. What is happening though is that you need to setup your
> clients (phones) to talk to destination (whatever interface f4 is) and
> destination port 6000.
>
> The router will then receive the incoming packet to 6000 and convert it to
> 192.168.0.15 5060.
>
> CYA

Hello Yandy,

I am positive that there is no listening going on at port 5060 on the
external address. Yes, when I change the port to 6000, it works. So,
the only conclusion I drew was that the second line is overwriting the
prior statement.

Regards.

Ash

Barry Margolin

unread,
Mar 2, 2008, 10:09:44 AM3/2/08
to
In article
<999919e3-fc01-4b5a...@u10g2000prn.googlegroups.com>,
velc...@hotmail.com wrote:

I think you should be using "ip nat outside" rather than "ip nat
inside". This changes the port that you're defining from the inside
port to the outside port.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***

0 new messages