|
|
[root@ ~]# firewall-cmd --permanent --zone=internal --change-interface=enp0s3; O% y1 y( J: K& r b; Y' {8 I
The interface is under control of NetworkManager, setting zone to 'internal'.
! g8 {0 S- v2 s, y% ]' usuccess
' A8 B4 E2 K! b7 ]0 E+ \[root@ ~]# firewall-cmd --reload , S5 |0 W1 T& w
success
% \% h4 f- R7 y0 v[root@ ~]# firewall-cmd --zone=internal --list-all
: [' C+ Q0 g! E: Y3 Hinternal (active)
& l3 z$ |5 q ~: ^8 E target: default
0 |6 n3 Q% G- b9 B icmp-block-inversion: no
" J& U. E8 O$ B) q: V) `& j+ g$ ` interfaces: enp0s3" ]' n) j k% {! @4 ~ W6 q7 ~
sources:
4 {+ @$ v% _, m- P. s: a services: ssh mdns samba-client dhcpv6-client
6 z- ]" J) M" t ports: 123/udp 4952/udp4 p6 y5 j- M$ {5 |
protocols:
5 Y9 K# U- c) P0 }( H! W masquerade: no5 q3 H3 N. S8 w2 T' W
forward-ports:
4 w1 z: R! ]4 i. h source-ports:
( A3 \7 j" m# }, q j V icmp-blocks: * J3 o& N$ N% T: R2 `2 d, d) e
rich rules: % f! K5 k6 E* N5 q8 D3 x
9 w. | i& I5 q' _ |
|