大网数据广告活动
服务器运维问答

What are the reasons to use a firewall in transparent mode?

· 52CE 我爱测

After searching some information on the Internet, I found only two advantages of a transparent firewall : "Stealth" mode, i.e., it became an invisible host on the network Installs easily into an existing network without modifying…

问题原文

原帖链接 · z0lupka · CC BY-SA 4.0

After searching some information on the Internet, I found only two advantages of a transparent firewall:

  • "Stealth" mode, i.e., it became an invisible host on the network
  • Installs easily into an existing network without modifying the Internet Protocol (IP) address

But this looks like a bit incomplete and maybe groundless. It seems that there should be some more good reasons for vendors (or open-source fellows) to implement such a mode and for customers to buy (use) this functionality.

社区高分解答

原帖链接 · sysadmin1138 · CC BY-SA 4.0

The biggest reason I know of? ipv6. A large part of the reason IPv6 was proposed was to get around the address exhaustion problem of IPv4 and get rid of the 'ugly hack' that is nat. Because of the IPv4+NAT combination, far too many people automatically assume that firewall == nat which is not the case. Nearly all firewalls can do NAT, but not all NAT solutions can do firewall.

IPv6 assumes an unmasked network, which causes some problems with people used to everything being masked. In an IPv6 network you are much safer assuming that a 'public' IPv6 address is no guarantee of routeability.

But it's not just IPv6. The university I used to work for had a /16 IPv4 allocation when I worked there. They had desktops with 'public' IP addresses on them. Yet they were still firewalled because our firewalls were working in 'transparent' mode. We had the address space, why not? It also made certain use-cases easier to handle without having to play NAT port-forwarding and public-ip-assignment games.


If your definition of transparent means an L2 security service, the use-cases there are common even in IPv4 networks.

  • AWS Security Groups operate like this for their ec2, Virtual Private Cloud, and other services.
  • Azure Security Groups operate similarly.
  • It's been a while since I worked with it, but I believe VMWare ESX networks had a similar option.

These systems are the core of network security in the major public cloud providers. You define a list of allow/deny rules, and they apply to the resource. In AWS this is the interface of the EC2 instance, Lambda, or other service. The firewall doesn't exist on the box like an iptables, but below the virtual machine. This makes it a transparent L2 device.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2022-01-04)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。