|
|
[root@ ~]# firewall-cmd --permanent --zone=internal --change-interface=enp0s3
. S5 ~( Q8 O U, R SThe interface is under control of NetworkManager, setting zone to 'internal'.1 C6 u0 M' f1 F; D& K Q$ S3 p0 b
success' G! o- h9 r# y2 @$ k# B
[root@ ~]# firewall-cmd --reload # D w7 q& ]: h+ s& f* P! f/ q
success
7 z% j) Z8 p7 D- \+ B$ }; G: x[root@ ~]# firewall-cmd --zone=internal --list-all & H# K) y' O; b( I) [- w, p
internal (active)
3 s( {! _- K% z& Q* F) { target: default' k( d# V) V, u. ]$ y# Z7 }0 l$ v
icmp-block-inversion: no' s& j1 D2 ^. `9 r' Z6 z
interfaces: enp0s3
8 x6 b6 B, k/ g1 \5 t- ^9 _ p0 L sources:
2 q, q* A7 m7 Q* e' q' H* R/ Q services: ssh mdns samba-client dhcpv6-client- t+ J: F7 O; w, |
ports: 123/udp 4952/udp
1 C7 D0 U$ a: x5 K1 I% X, [- J protocols: 8 {! Z9 v1 r' K
masquerade: no
+ O) [& h, l' B7 R8 o6 @ forward-ports: " [9 J f! Q6 ]( b3 L) r
source-ports: 8 j2 _3 r) h7 I0 w. j
icmp-blocks: 2 R- E2 I# r/ l$ t ]
rich rules:
' [% q5 X# O# q: f. a% H) E3 {7 W- W
" \+ s0 U6 K c3 l) {9 F% P- Y |
|