What's the difference between proxy and firewall? And can we integrate a nat or pat into a proxy or firewall?
|
A Proxy Server is a device that:
A Firewall is a device that is:
The former just lets all traffic through regardless of source or destination and is a way of routing requests through known gateways and is often used to allow companies to log network traffic for example. A proxy may include a firewall as part of it's functionality but it doesn't have to. I would expect that Network Address Translation (NAT) and Port Address Translation (PAT) - which is basically the same thing - would be functionality that could be built in, but NAPT is more used on routers etc. to:
|
|||||||||||
|
|
Proxies are used explicitly, for example a browser is configured to forward http requests to a proxy. A firewall is used implicitly, for example to drop some network connections. NAT works at the network level. NAT uses the same mechanisms as a stateful firewall to let a few machines appear with a single external IP address. Conceptually that makes NAT closer to a firewall. On the other hand the fact that a NAT rewrites packets (changing ports and addresses) is similar to a proxy changing ports and addresses and adjusting headers before relaying a request. |
|||||||
|
Yes, Microsoft's Threat Management Gateway (TMG) is an example of a proxy & firewall wrapped into one. |
||||
