Link to home
Start Free TrialLog in
Avatar of Anthony Lucia
Anthony Lucia

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of Anthony Lucia
Anthony Lucia

ASKER

I understand.  Thanks for taking the time to explain that