Easier way to forward ports

2

I was wondering if there is a simpler way to forward data through my DSL modem and router to my server without forwarding each port individually? While still maintaining security.

Fearless

Posted 2013-10-10T21:32:28.147

Reputation: 71

1

Some routers come with a feature that lets you put an ip in "DMZ" mode, so that all unsolicited inbound traffic that doesn't match a NAT forward rule, gets forwarded to the IP. usually a DMZ is behind the firewall, but in front of the NAT, but depends on hardware implementation. look up your router to determine if it supports a DMZ. heres the netgear support for some of their models: http://kb.netgear.com/app/answers/detail/a_id/1118/~/how-to-make-a-dmz

– Frank Thomas – 2013-10-10T22:20:58.140

Answers

1

You have two possible options that are entirely dependent on what your router supports.

Forwarded Port Grouping, aka Custom Services

Many routers/modems support forwarding ports in groups with a given service name. Usually this option is labeled "Custom Services" in the router.

For instance, if I have a service/program that requires me to forward ports 1, 10, and 700 I can create a group titled "My Service" and include those ports. Then assign the group to an IP, and all ports in that group are forwarded there.

UPnP

Universal Plug-N-Play allows you to manage a network device using a standardized protocol. There are many port fowarding management tools that operate over UPNP, but your router must support it.

Many applications have UPnP functionality built in, that automagically fowards the ports necessary for it work, but this varies from application to application.

Some examples would be UPNP PortMapper or Application Port Mapper.

Moses

Posted 2013-10-10T21:32:28.147

Reputation: 10 813

Good points. Note that many consider UPNP to reduce the security of a given network, due to protocol and hardware exploits. it also gives malicious clients (trojans executing within your network) a new set of very dangerous tools for infiltrating your network. https://en.wikipedia.org/wiki/Universal_Plug_and_Play#Problems_with_UPnP

– Frank Thomas – 2013-10-10T22:26:11.493

@FrankThomas This is true. A good solution would be temporarily turning on UPnP to do your port fowarding work, then turning it back off. Ultimately port fowarding is tedious, but only-have-to-do-it-once work. – Moses – 2013-10-10T22:28:29.597