|
|
[root@ ~]# firewall-cmd --permanent --zone=internal --change-interface=enp0s3
! Y, Q* ?$ r8 a( ~/ J( f1 J4 w9 ~The interface is under control of NetworkManager, setting zone to 'internal'.
5 c7 T: c& \% Y2 S% n8 M( N1 rsuccess# s" n, B' E3 ^4 k1 Q( c- `8 t
[root@ ~]# firewall-cmd --reload $ _( u9 n8 |3 N4 \( y L
success
" ?% P7 J/ A1 ~' Q' x0 G( i[root@ ~]# firewall-cmd --zone=internal --list-all 6 Y! _9 C$ ? A+ J l
internal (active)
7 E! X, l+ N) r: a" l- r# Z target: default2 M1 e6 Y3 |- y) N* [
icmp-block-inversion: no
- ]3 n% y5 }1 t A8 L" i interfaces: enp0s3* P' [! Y4 X4 a% K5 a4 w% r
sources:
- X# P, D- Y% `9 x" X6 f/ y services: ssh mdns samba-client dhcpv6-client# k; {( @- O; e# }6 a
ports: 123/udp 4952/udp
7 X: h7 ^# `4 U7 z0 g protocols: 6 i- |9 j. f* N: ]$ U
masquerade: no I# ?" _' h+ A4 `9 e& f* L5 @6 G6 W
forward-ports: j' |( h8 ?/ |- c
source-ports:
3 n; ?1 r0 H# v6 j" H icmp-blocks: . Q$ S$ p" q$ [, z0 s# u
rich rules:
6 I. }# I, P K8 b/ ] ) [+ y2 X- x# q( ~
|
|