StaplesMan
Technical User
I'm trying to get my router to work correctly with my Linksys SPA-2102. I have service with Voipyourlife.com
It all works but some times I have problems making calls. The line does not make the call all the time. I called there support and talked to someone and he get me access to the configuration of the unit and set an IP on the adapter. Also told me I need to have the following ports forwarded on my router. He also told me I was connecting on the wrong port on there network. And sure enough I did a show ip nat tran and it was changing 5060 to another port number.
UDP ports that need to be forwarded.
5004
5060 - 5069
16000 - 16500
I did some research and found out I would need to use the following commands to do a range of ports and have them forwarded to my Voip box.
ip nat pool Voip 10.0.1.50 10.0.1.50 netmask 255.255.255.0 type rotary
ip nat inside destination list 100 pool Voip
ip nat inside source list 101 interface Ethernet0 overload
access-list 100 permit udp any any eq 5004
access-list 100 permit udp any any range 5060 5069
access-list 100 permit udp any any range 16000 16500
After doing this I did some testing and found that the commands did nothing at all. I did a few clear ip nat tran * and then I was unable to call my home from my cell. Then I thought that if the above command where not forwarding the packets then I should try a static route. I then used this command.
ip nat inside source static udp 10.0.1.50 5060 interface Ethernet0 5060
Now if I issue a clear ip nat tran * the 5060 port will still forward and my phone rings.
But my question is why do i have to enter the above configuration command to perform the route. Why do the original port forwarding commands I described first work instead?
Does it depend on the direction of the packet? Outside to in or in to out?
It all works but some times I have problems making calls. The line does not make the call all the time. I called there support and talked to someone and he get me access to the configuration of the unit and set an IP on the adapter. Also told me I need to have the following ports forwarded on my router. He also told me I was connecting on the wrong port on there network. And sure enough I did a show ip nat tran and it was changing 5060 to another port number.
UDP ports that need to be forwarded.
5004
5060 - 5069
16000 - 16500
I did some research and found out I would need to use the following commands to do a range of ports and have them forwarded to my Voip box.
ip nat pool Voip 10.0.1.50 10.0.1.50 netmask 255.255.255.0 type rotary
ip nat inside destination list 100 pool Voip
ip nat inside source list 101 interface Ethernet0 overload
access-list 100 permit udp any any eq 5004
access-list 100 permit udp any any range 5060 5069
access-list 100 permit udp any any range 16000 16500
After doing this I did some testing and found that the commands did nothing at all. I did a few clear ip nat tran * and then I was unable to call my home from my cell. Then I thought that if the above command where not forwarding the packets then I should try a static route. I then used this command.
ip nat inside source static udp 10.0.1.50 5060 interface Ethernet0 5060
Now if I issue a clear ip nat tran * the 5060 port will still forward and my phone rings.
But my question is why do i have to enter the above configuration command to perform the route. Why do the original port forwarding commands I described first work instead?
Does it depend on the direction of the packet? Outside to in or in to out?