|
|
[root@ ~]# firewall-cmd --permanent --zone=internal --change-interface=enp0s3- d2 h6 y8 b! ^
The interface is under control of NetworkManager, setting zone to 'internal'.& T6 M* G' n5 `8 R* d
success, h8 t) S' v8 r/ D' W
[root@ ~]# firewall-cmd --reload
4 Q6 }4 P9 ~& h" E, G+ p: J; Dsuccess
4 O& m" ~( ?8 Q0 {- k4 }% S' M[root@ ~]# firewall-cmd --zone=internal --list-all 6 L1 f$ }' x0 _4 N
internal (active) b0 ~. j& n) ]8 m1 V) Z& q
target: default6 h. c. a! I9 Q
icmp-block-inversion: no9 w1 W" \, X$ Y
interfaces: enp0s3
) [. ?8 N. X2 |1 f sources: : W$ L t+ b' Y$ r: i# p: U# A
services: ssh mdns samba-client dhcpv6-client* I, L/ r! v8 r6 |6 |7 \
ports: 123/udp 4952/udp
& M0 `& F4 S. O8 \. a protocols:
& n' Z, B$ W/ r8 F( T masquerade: no: |3 n) s$ ^# i
forward-ports:
n! S. A U9 @ source-ports:
3 u: ~+ @5 H6 L/ }- M- F' W6 { icmp-blocks: 1 S p7 E9 j m7 i/ O. Z0 y( _
rich rules: # @( L$ |6 v# f6 @4 @( V: g
9 g `' F: l! t, _: L, X9 m/ t
|
|