DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
2920n howto configure for inbound SIP
- nameofthedragon
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
24 Mar 2011 00:08 #66936
by nameofthedragon
2920n howto configure for inbound SIP was created by nameofthedragon
I have a network with an Asterisk server that I need to terminate SIP trunks on. As I understand it, I need to open ports
UDP 5060 (SIP)
UDP 10000-20000 RTP (audio) data
I've set up the SIP (UDP 5060) port in the NAT section of the firewall, forwarding all traffic on port 5060 to the Asterisk PBX. But what's the correct configuration for the RTP ports? On a 2920 there doesn't seem to be any way to configure such a large range of ports in the NAT forwarding.
How have people done this? What's the correct configuration for an inbound SIP trunk on a 2920n?
UDP 5060 (SIP)
UDP 10000-20000 RTP (audio) data
I've set up the SIP (UDP 5060) port in the NAT section of the firewall, forwarding all traffic on port 5060 to the Asterisk PBX. But what's the correct configuration for the RTP ports? On a 2920 there doesn't seem to be any way to configure such a large range of ports in the NAT forwarding.
How have people done this? What's the correct configuration for an inbound SIP trunk on a 2920n?
Please Log in or Create an account to join the conversation.
- nealuk
- Offline
- Member
Less
More
- Posts: 465
- Thank you received: 0
24 Mar 2011 10:52 #66940
by nealuk
Replied by nealuk on topic Re: 2920n howto configure for inbound SIP
I have just looked at the Live Web Demo of the 2920n at draytek.com
Similar to most Draytek Products, under NAT > Port Redirection, choose a number and you can set a large port range, such as the 10000-20000 you require.
Hope this helps,
Neal.
Similar to most Draytek Products, under NAT > Port Redirection, choose a number and you can set a large port range, such as the 10000-20000 you require.
Hope this helps,
Neal.
Please Log in or Create an account to join the conversation.
- nameofthedragon
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
24 Mar 2011 11:17 #66942
by nameofthedragon
Replied by nameofthedragon on topic Re: 2920n howto configure for inbound SIP
If you are referring to setting the Mode to Range, then that doesn't actually do what you might think. While that mode does allow you to enter a range of ports, it then distributes those ports over a range of IP addresses. So for example, if I enter a port range of 10000-10002, a private port of 10000 and a private ip of 10.0.0.10, then
external port 10000 -> 10.0.0.10 port 10000
external Port 10001 -> 10.0.0.11 port 10000
external Port 10002 -> 10.0.0.12 port 10000
This isn't what I need. I want all of the ports in the range I specify to be directed to a single IP address. So I want:
external port 10000 -> 10.0.0.10 port 10000
external Port 10001 -> 10.0.0.10 port 10001
external Port 10002 -> 10.0.0.10 port 10002 etc
I have been able to do this with other routers, I can't see a way to achieve that with a 2920, because there are only 20 'slots' in the port redirection table, and even if I were willing to enter 1,000 entries, the router doesn't have room for them all. The 'range' mode doesn't do what I need.
I can't believe this would be impossible on such a high quality device, so I am prepared to accept that I may be approaching this problem from the wrong angle. I'm interested to hear from anyone who has terminated a SIP trunk through this router and how they achieved it.
external port 10000 -> 10.0.0.10 port 10000
external Port 10001 -> 10.0.0.11 port 10000
external Port 10002 -> 10.0.0.12 port 10000
This isn't what I need. I want all of the ports in the range I specify to be directed to a single IP address. So I want:
external port 10000 -> 10.0.0.10 port 10000
external Port 10001 -> 10.0.0.10 port 10001
external Port 10002 -> 10.0.0.10 port 10002 etc
I have been able to do this with other routers, I can't see a way to achieve that with a 2920, because there are only 20 'slots' in the port redirection table, and even if I were willing to enter 1,000 entries, the router doesn't have room for them all. The 'range' mode doesn't do what I need.
I can't believe this would be impossible on such a high quality device, so I am prepared to accept that I may be approaching this problem from the wrong angle. I'm interested to hear from anyone who has terminated a SIP trunk through this router and how they achieved it.
Please Log in or Create an account to join the conversation.
- briain
- Offline
- Junior Member
Less
More
- Posts: 80
- Thank you received: 0
20 Apr 2011 08:39 #67368
by briain
Replied by briain on topic Re: 2920n howto configure for inbound SIP
Hi
I've not set an Asterisk system up and I've not used a 2920, but in the 2820, as well as there being a port redirection feature, there is also an open ports feature (both these features are in the NAT menu) and that does permit a range of ports to be opened up to one internal IP address (which sounds a bit more like what you're looking for). If I understand your requirements correctly, you could likely set the open ports range as 10000 - 20000 for 10.0.0.10 to make that work.
My understanding is that the port redirection facility is really for translating port numbers, though it can also be used to 'open' a single port per IP address by setting the public port and private port to the same number.
Bri
I've not set an Asterisk system up and I've not used a 2920, but in the 2820, as well as there being a port redirection feature, there is also an open ports feature (both these features are in the NAT menu) and that does permit a range of ports to be opened up to one internal IP address (which sounds a bit more like what you're looking for). If I understand your requirements correctly, you could likely set the open ports range as 10000 - 20000 for 10.0.0.10 to make that work.
My understanding is that the port redirection facility is really for translating port numbers, though it can also be used to 'open' a single port per IP address by setting the public port and private port to the same number.
Bri
Please Log in or Create an account to join the conversation.
Moderators: Sami
Copyright © 2024 DrayTek