📜  防火墙和代理服务器之间的区别

📅  最后修改于: 2021-08-25 18:07:15             🧑  作者: Mango

1.防火墙:
防火墙是一种软件程序,可以防止未经授权的人员访问私有网络或从私有网络进行访问。在其中的所有数据包进入或丢弃的网络都通过防火墙,并在检查防火墙是否允许之后通过防火墙。所有流量都必须通过防火墙,并且仅授权流量必须通过。它是一个位于两个网络之间的系统,在该系统中,这些网络之间实施访问控制策略。它在OSI模型的网络层上工作,并在传输之前使用加密对数据进行加密。

2.代理服务器:
代理服务器是充当任何设备与Internet其余部分之间的网关或中介的服务器。代理接受并转发连接请求,然后返回这些请求的数据。它使用匿名网络ID代替客户端的实际IP地址(意味着它隐藏了客户端的IP地址),因此无法显示客户端的实际IP地址。

防火墙和代理服务器之间的区别:

SR.NO Firewall Proxy Server
1 Firewall 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.
2 It blocks connections from unauthorised network. It facilitates connections over network.
3 It filters data by monitoring IP packets that are traversed. It filters the client-side requests that are made to connect to the network.
4 It involves network and transport layer data. It work on application layer data.
5 It exist as an interface between a public and private network. It can exist with public networks on both sides.
6 It is used to protect an internal network against attacks . It is used for anonymity and to bypass restrictions.
7 The 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.
8 It works on the packet level.  It works on application protocol level.