Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Difference between Firewall and Proxy Server

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

1. Firewall :
Firewall is software program that prevents unauthorized access to or from a private network. All data packets in it are entering or dropping network passes through the firewall and after checking whether the firewall allows it or not. All traffic must pass through the firewall and only authorized traffic must pass. It is a system located between two networks where it implements an access control policy between those networks. It works on network layer of the OSI model and uses encryption to encrypt the data before transmission.

2. Proxy Server :
Proxy Server is a server that acts as a gateway or intermediary between any device and the rest of the internet. A proxy accepts and forwards connection requests, then returns data for those requests. It uses the anonymous network id instead of actual IP address of client (means it hides the IP address of client), so that the actual IP address of client couldn’t be reveal.



Difference between Firewall and Proxy Server :

SR.NOFirewallProxy Server
1Firewall can monitor and filter all the incoming and outgoing traffic on a given local network.Proxy server connects an external client with a server to communicate with each other.
2It blocks connections from unauthorised network.It facilitates connections over network.
3It filters data by monitoring IP packets that are traversed.It filters the client-side requests that are made to connect to the network.
4It involves network and transport layer data.It work on application layer data.
5It exist as an interface between a public and private network.It can exist with public networks on both sides.
6It is used to protect an internal network against attacks .It is used for anonymity and to bypass restrictions.
7The overhead generated in firewall is more as compared to a proxy server.The overhead generated in proxy server is less as compared to a firewall.
8It works on the packet level. It works on application protocol level.

My Personal Notes arrow_drop_up
Last Updated : 17 Jul, 2020
Like Article
Save Article
Similar Reads