Centos8 firewalld issue
Posted: 2020/12/21 16:11:38
Hello,
I have just created simple basic centos8 vm for production, and the first thing I noticed after restarting some firewalld issues:
public (active)
target: default
icmp-block-inversion: no
interfaces: ens192
sources:
services:
ports: 25/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source address="192.168.2.0/24" port port="3333" protocol="tcp" accept
rule family="ipv4" source address="192.168.2.0/24" port port="9090" protocol="tcp" accept
My WIndows has 192.168.2.100 and when I try to access SSH using 3333 I cannot - I have to disable firewalld from console and then it works. Rich rules should work. I have already reinstalled firewalld twice - removed and installed again. Any thoughts?
I have just created simple basic centos8 vm for production, and the first thing I noticed after restarting some firewalld issues:
public (active)
target: default
icmp-block-inversion: no
interfaces: ens192
sources:
services:
ports: 25/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source address="192.168.2.0/24" port port="3333" protocol="tcp" accept
rule family="ipv4" source address="192.168.2.0/24" port port="9090" protocol="tcp" accept
My WIndows has 192.168.2.100 and when I try to access SSH using 3333 I cannot - I have to disable firewalld from console and then it works. Rich rules should work. I have already reinstalled firewalld twice - removed and installed again. Any thoughts?