Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Are virtual servers and port forwarding the same thing?

I always thought so but my Dlink DIR-655 has both.

The only thing I can see with port forwarding is the ability to do ranges whereas virtual servers allow you to forward single external port to a different numbered port on an internal machine.

Are they the only differences?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

Some routers provide a means to appoint one computer on your LAN to receive all incoming connections initiated from the outside. This is referred to using a number of terms and phrases such as "True DMZ†" or just "DMZ - although I don't recall "Virtual server" being one of them.

The term "virtual server" usually means something completely unrelated - the means of hosting one or more guest operating systems concurrently on the same single computer - usually with a host operating system but somethimes with a bare metal hypervisor.

Port forwarding allows you to direct incoming traffic to many different servers on your LAN, depending on the connection's destination port number. For example port 30122 might be forwarded to port 22 on server A, port 30222 might be forwarded to port 22 on server B.

It seems to me the manual for the D-Link DIR-655 uses the term "virtual server" for port-forwarding where the internal and external port numbers are the same. It uses "port forwarding" for port-forwarding where the external and internal port-numbers differ. So far as I know, this use of the term "virtual server" for port-forwarding isn't used generally and is likely to cause confusion with virtual servers in the context of virtualisation.


† Personally I belive that to qualify as a DMZ, the servers in the DMZ should be prevented from making connections to computers in the LAN outside the DMZ. Most low-end routers don't provide this level of protection.

share|improve this answer
    
That's usually called the "DMZ". –  CarlF Dec 28 '10 at 20:21
    
@CarlF: You caught me part way through editing my answer to address that point :-) –  RedGrittyBrick Dec 28 '10 at 20:26
    
I don't think DMZ and 'virtual server' have been muddled - D-Link DO use the term 'virtual server' for port forwarding. –  Linker3000 Dec 28 '10 at 21:29
    
@Linker3000: Thanks, answer updated. –  RedGrittyBrick Dec 28 '10 at 22:12
    
Billion also use the term "Virtual Server" for port forwarding. –  quickly_now Dec 28 '10 at 23:04
add comment

Some routers - eg: D-Link's - use the term 'virtual server' for port forwarding where you can divert specific WAN ports to local machines with translation of port numbers.

Example: WAN (public IP) Port 9422 -> Local machine 192.168.0.1 port 22

In this context, the term has nothing to do with machine virtualisation and 'virtual server' and 'port forwarding' do often mean the same thing.

If there is a differentiation between the two terms, it's usually that 'port forwarding' means that the public port and the local machine port to which it is directed have to use the same port number.

Example: WAN (public IP) Port 22 -> Local machine 192.168.0.1 port 22

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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