admin 发表于 2018-7-20 11:07:23

firewalld防火墙制定internal从某端口进出

# firewall-cmd --permanent --zone=internal --change-interface=enp0s3
The interface is under control of NetworkManager, setting zone to 'internal'.
success
# firewall-cmd --reload
success
# firewall-cmd--zone=internal --list-all
internal (active)
target: default
icmp-block-inversion: no
interfaces: enp0s3
sources:
services: ssh mdns samba-client dhcpv6-client
ports: 123/udp 4952/udp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:

页: [1]
查看完整版本: firewalld防火墙制定internal从某端口进出