Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently erased all of the Virtual Server rules from a D-Link router and added just the ones that I needed (for example I don’t need DNS or NetMeeting, etc.) You can see the defaults on the emulator.

A strange thing I’ve noticed is that the default rules set the private IP for all of the services set but when I try to do the same, it gives the following complaint

Invalid Private IP of LAN Server.

I can set them to a local IP (ie 192.168.x.x) though.

I am curious as to what the deal is. Is that a bug in the router? In fact, I have been wondering about IP address for several years, especially in regards to servers (web servers, etc. often talk about binding to


share|improve this question

closed as off-topic by Falcon Momot, Wesley, Scott Pack, kce, Ward Jul 21 '13 at 5:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about hardware or software used in a home setting are off-topic because they require answers that may not be practical for the business and support professionals here. You should try asking on Super User instead." – Falcon Momot, Wesley, Scott Pack, kce, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.

You cannot redirect to from that router, you would need to enter a specific place to send those packets. I don't know exactly what the default rules do, but they might just be there as hints, and are not used until you set a server IP address. means "any address on this host" which, when in the context of "bind to", it means "listen on all IPv4 addresses on all interfaces." means "any network" because a netmask of 0 means "match no bits." Compare to which means "match the first 24 bits" -- aka 192.168.100.x. Bits don't need to be on an IP address octet boundry. Also, /32 means EXACT match, so means "match only this one address." These are all useful for firewall match rules.

share|improve this answer
Hmm, it seems that those default rules are indeed confusing. I don’t think that having them is a good idea merely as a hint, (hints should be in the manual). Next time that I reset the router, I will check to be sure, but I’m fairly certain that those rules do indeed work (I recall previously using the existing FTP and HTTP rules which are set to – Synetech Dec 1 '09 at 20:23
How exactly are you using those rules? Are those for incoming or outgoing connections? From what I can see, they APPEAR to be mapping an incoming connection to your public address to some internal host, and I would have no idea how it could determine WHICH host from – Michael Graff Dec 1 '09 at 20:59
That’s the big mystery. The VirtualServer list enables one to allow for incoming connections; the Application list allows for port-triggering; the Filters list is the, uh, filter list; and the the Firewall list allows for even more specific filtering. In fact, other D-Link emulators show the same thing:<br /><br />… /> I may end up having to reset my router to test the default rules (and then reconfigure everything all over again). :( – Synetech Dec 2 '09 at 16:13 is a way of expressing "any network." For firewall rules, allowing a connection for a specified port to means that it can open that connection on that port to any destination.

share|improve this answer
Right, but there is no subnet specified in the router’s rules (and the subnet specified in the LAN section is not 0—in fact, it doesn’t seem to support CIDR, and it won’t let you enter a subnet of – Synetech Dec 1 '09 at 20:22

I'd say that the pre-configured rules that have don't actually work. All of the rules imply a EXACT match /32 . For you to try to put or is just strange. Why would you think that would work?

share|improve this answer
Because I’m fairly sure that the HTTP and FTP servers that I ran worked even though I was using the default rules for ports 80 and 21. – Synetech Dec 4 '09 at 17:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.