✏️ 正在编辑: nm-shared.xml
路径:
/usr/lib/firewalld/zones/nm-shared.xml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?xml version="1.0" encoding="utf-8"?> <zone target="ACCEPT"> <short>NetworkManager Shared</short> <description> This zone is used internally by NetworkManager when activating a profile that uses connection sharing and doesn't have an explicit firewall zone set. Block all traffic to the local machine except ICMP, ICMPv6, DHCP and DNS. Allow all forwarded traffic. Note that future package updates may change the definition of the zone unless you overwrite it with your own definition. </description> <rule priority='32767'> <reject/> </rule> <protocol value='icmp'/> <protocol value='ipv6-icmp'/> <service name="dhcp"/> <service name="dns"/> <service name="ssh"/> </zone>
💾 保存文件
← 返回文件管理器