问题原文
原帖链接 · golopot · CC BY-SA 3.0
My host is firewalled by the rule that allows everything outbound and nothing inbound. If I make a http request to some website, the website server will respond to some port on my host, for example, 48406.
Now, port 48406 is not allowed in the inbound rule, why are the response packets allowed to pass through the wall?
已采纳解答
原帖链接 · Sven · CC BY-SA 3.0
Because the firewall can identify it as part of an established and allowed connection (outbound port 80). This is a fundamental requirement for a firewall, otherwise you wouldn't be able to communicate at all, as source ports are usually random for such kind of connections.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
