aaPanel_Kern
[root@mail ~]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: dhcpv6-client ssh
ports: 20/tcp 80/tcp 39000-40000/tcp 443/tcp 2152/udp 25/udp 110/udp 143/udp 465/udp 995/udp 993/udp 587/udp 3306/udp 2152/tcp 3306/tcp 5123/tcp 995/tcp 587/tcp 993/tcp 110/tcp 25/tcp 143/tcp 465/tcp 888/tcp
protocols:
masquerade: yes
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule source ipset="CN" drop
rule source ipset="ID" drop
rule source ipset="BR" drop
rule source ipset="PK" drop
rule source ipset="MA" drop
rule source ipset="CL" drop
rule source ipset="JO" drop
rule source ipset="SA" drop
rule source ipset="KH" drop
rule source ipset="MX" drop
rule source ipset="VE" drop
rule source ipset="CO" drop
rule source ipset="IQ" drop
rule source ipset="PA" drop
rule source ipset="VN" drop
rule source ipset="AR" drop
rule source ipset="TN" drop
And.
`[root@mail ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD_IN_ZONES (0 references)
target prot opt source destination
Chain FORWARD_IN_ZONES_SOURCE (0 references)
target prot opt source destination
Chain FORWARD_OUT_ZONES (0 references)
target prot opt source destination
Chain FORWARD_OUT_ZONES_SOURCE (0 references)
target prot opt source destination
Chain FORWARD_direct (0 references)
target prot opt source destination
Chain FWDI_public (0 references)
target prot opt source destination
Chain FWDI_public_allow (0 references)
target prot opt source destination
Chain FWDI_public_deny (0 references)
target prot opt source destination
Chain FWDI_public_log (0 references)
target prot opt source destination
Chain FWDO_public (0 references)
target prot opt source destination
Chain FWDO_public_allow (0 references)
target prot opt source destination
Chain FWDO_public_deny (0 references)
target prot opt source destination
Chain FWDO_public_log (0 references)
target prot opt source destination
Chain INPUT_ZONES (0 references)
target prot opt source destination
Chain INPUT_ZONES_SOURCE (0 references)
target prot opt source destination
Chain INPUT_direct (0 references)
target prot opt source destination
Chain IN_public (0 references)
target prot opt source destination
Chain IN_public_allow (0 references)
target prot opt source destination
Chain IN_public_deny (0 references)
target prot opt source destination
Chain IN_public_log (0 references)
target prot opt source destination
Chain OUTPUT_direct (0 references)
target prot opt source destination`
And
Ну и это заодно тоже можно.
[root@mail ~]# firewall-cmd -V
0.6.3