02-28-2024 10:06 AM
I upgraded from a 2901 router to a 4321 but I am running into problems getting the SIP RTP streams through the NAT that I setup.
The NAT is configured the same as it was on the 2901 router, but the only difference I noticed was that the order of the NAT's was reversed. The version of IOS that the 4321 is running is 17.09.04a.
Here is a copy of the config
no ip nat service sip tcp port 5060
no ip nat service sip udp port 5060
ip nat inside source static udp 192.168.0.7 5060 "Outside IP" 5060 extendable
ip nat inside source list 1 interface GigabitEthernet0/0/0 overload
02-28-2024 10:50 AM
have done the the debug and see the translation or packets coming to router ? i will also try using interface ?
if the GigabitEthernet0/0/0 have DHCP IP address
where is 192.168.0.7 - is directly connected, or do you have the device routes in place ?
try using interface.
no ip nat inside source static udp 192.168.0.7 5060 "Outside IP" 5060 extendable
ip nat inside source static udp 192.168.0.7 5060 GigabitEthernet0/0/0 5060 extendable
also advise to post complete config by removing passwords.
02-28-2024 05:45 PM
you could try the following:
no ip nat service sip tcp port 5060
no ip nat service sip udp port 5060
ip nat inside source static udp 192.168.0.7 5060 <Outside_IP> 5060 extendable
ip nat inside source static udp 192.168.0.7 10000 <Outside_IP> 10000 extendable
ip nat inside source static udp 192.168.0.7 10001 <Outside_IP> 10001 extendable
In this configuration, SIP signaling (port 5060) and RTP media streams (ports 10000-10001) are statically mapped to your external IP address.
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