• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2407
  • Last Modified:

Port Forwarding vs Proxy

As I understand it, Port forwarding sends to a specified IP(port), and this is usually performed by a router or a firewall

However, a proxy does much the same thing, but is usually a server of some sort in the DMZ as opposed to the firewall or router

So what am I missing, what is the difference between a proxy and a firewall
0
Anthony Lucia
Asked:
Anthony Lucia
  • 2
1 Solution
 
arnoldCommented:
port forwarding deals with packet data it does not review what is in the request.

To differentiate, I'll use the snail mail approach.

port forwarding looks at the envelope and to whom the letter is addressed, and forwards it along.

the proxy in this example is a correspondence processing group of people.
When a letter arrives, they open the letter. look to whom it is addressed, and forward it along.

The difference is the basis on which the determination is made where this should go.

The packet is the envelope (TCP/IP).
The request is always enclosed within the envelope (TCP/IP)
0
 
arnoldCommented:
Yes I know, requests are not contained in a single packet.  For the purposes of this example, they do.
Or it would necessitate the introduction of tcp/IP packets, packet assembly, retransmission,..... etc.

Since proxy requires the receipt of all packets to determine the next step/destiantion while the port forwarding setup does not it forwards a packet at a time to be assembled on the receiving end as needed.


It might be possible to illustrate as a treasure hunt where the map is made up of pieces (puzzle) and each piece is sent individually.
Each piece of the puzzle is numbered N of M in no specific order as far as assembling the puzzle. i.e. the map is broken into 32 pieces and labeled in no speicific way 1 of 32 to 32 of 32.

port forwarding when each piece arrives will direct it to the group of people designated to assemble the map (map processors).

proxy handling will mean there is a receiving group of people, who will be charged of making sure they received all 32 pieces before delivering the pieces  to the Map processors.

The difference deals with port forwarding the map processors, would have to initiate a request to the original sender that a piece is missing.  In the proxy case, the receiving group will handle this task.

The true distinction, if all pieces are not delivered, in the proxy setup, the map processors are not aware that a map was ever sent while in the port forwarding, an incomplete set of data was sent on which the map processing group could not act.
0
 
Anthony LuciaAuthor Commented:
I understand.  Thanks for taking the time to explain that
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now