What's new

Help with passing a range of ports?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

BobMCT

Regular Contributor
Hi,
I'm using an RT-N66U with the .5x merlin firmware and I'm trying to install a Magic Jack for VoIP. I need to pass ports 49152-65535 to a specific ip. Normally I'd define that in the Server Port forwarding but it appears to want the ports entered one at a time. Is there any way or any place where I should define this rule?
I'm usually pretty keen on these tasks but for some reason this has me frustrated.
Any suggestions/guidance greatly appreciated.
:confused:
 
Hi,
I'm using an RT-N66U with the .5x merlin firmware and I'm trying to install a Magic Jack for VoIP. I need to pass ports 49152-65535 to a specific ip. Normally I'd define that in the Server Port forwarding but it appears to want the ports entered one at a time. Is there any way or any place where I should define this rule?
I'm usually pretty keen on these tasks but for some reason this has me frustrated.
Any suggestions/guidance greatly appreciated.
:confused:

Outbound ports are not filtered, so there's nothing needed to be configured for this port range you mention.

Normally, you shouldn't even need to forward any port for a Magic Jack. If you do, it would probably be 5060/udp.
 
Thanks RMerlin. But Magic Jack is insisting that these ports are NOT open on my router. I went to the Port forwarding on the WAN section and entered the following:
Svc Name Incoming ports Local IP Local Ports Protocol
VoIP 49152,65535 192.168.8.108 UDP

But this doesn't seem to pass the requests. Anything else I need to look at and/or define (to the best of anyone's knowledge)?

Thanks
 
Thanks RMerlin. But Magic Jack is insisting that these ports are NOT open on my router. I went to the Port forwarding on the WAN section and entered the following:
Svc Name Incoming ports Local IP Local Ports Protocol
VoIP 49152,65535 192.168.8.108 UDP

But this doesn't seem to pass the requests. Anything else I need to look at and/or define (to the best of anyone's knowledge)?

Thanks

You would specify a range of ports as, "49152:65535". OR, you could try it directly with iptables command.

Examples:
Code:
# add a rule
iptables -A VSERVER -t nat -i eth0 -p udp --dport 49152:65535 -j DNAT --to 192.168.1.111
# delete a rule
iptables -D VSERVER -t nat -i eth0 -p udp --dport 49152:65535 -j DNAT --to 192.168.1.111
# list the rules
iptables -t nat -L

SOURCE: https://github.com/RMerl/asuswrt-me...18517ad31235/release/src/router/rc/firewall.c
KEYWORD: vts_rulelist
 
Thanks RMerlin. But Magic Jack is insisting that these ports are NOT open on my router. I went to the Port forwarding on the WAN section and entered the following:
Svc Name Incoming ports Local IP Local Ports Protocol
VoIP 49152,65535 192.168.8.108 UDP

But this doesn't seem to pass the requests. Anything else I need to look at and/or define (to the best of anyone's knowledge)?

Thanks

I'd be surprised if the Magic Jack really needed you to forward all those ports. This is an insanely large range of ports to dedicate exclusively to one device, so that wouldn't make any sense to me. Port forwards rarely exceed more than 10 to 20 ports, and even then it's pretty wide.

Those that I know using a Magic Jack (like my boss) never had to forward any ports at all.
 
[QUOTE="Those that I know using a Magic Jack (like my boss) never had to forward any ports at all.[/QUOTE]

I concur with what Merlin's boss stated. I have my MagicJack connected to a router double NATed behind a FIOS router and have never set up any port forwards for it nor is UPnP enabled. It just works.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top