Firewall and SELINUX - RHCSA

Description

Mind Map on Firewall and SELINUX - RHCSA, created by Luiz Eduardo on 13/11/2019.
Luiz  Eduardo
Mind Map by Luiz Eduardo, updated more than 1 year ago
Luiz  Eduardo
Created by Luiz Eduardo almost 5 years ago
5
0

Resource summary

Firewall and SELINUX - RHCSA

Annotations:

  • https://www.goconqr.com/pt-BR/mind_maps/18895089/edit

Attachments:

  1. yum list installed | egrep "iptables|firewalld"
    1. IPTABLES
      1. cat /etc/sysconfig/iptables
        1. iptables -L
          1. iptables -F
            1. iptables -t filter -A INPUT -p tcp --dport 80 -j ACCEPT
              1. iptables -A OUTPUT -p icmp -j DROP
                1. iptables -I INPUT -m state --state NEW,ESTABLISHED -p tcp --dport 25 \ -j DROP
                  1. iptables -A FOWARD -d 192.168.0.0/24 -j ACCEPT
                    1. service iptables save
                      1. iptables-save > /iptablesbkp
                        1. iptables-restore < /iptablesbkp
                        2. systemctl enable firewalld
                          1. systemctl start firewalld
                            1. Firewalld
                              1. ll /usr/lib/firewalld
                                1. ll /etc/firewalld
                                  1. firewall-cmd
                                    1. --state
                                      1. --reload
                                        1. --permanent
                                          1. --get-default-zone
                                            1. --get-services
                                              1. --list-all
                                                1. --list-services
                                                  1. --add-service
                                                    1. --remove-service
                                                      1. --query-service
                                                        1. --list-ports
                                                          1. --add-port
                                                            1. --remove-port
                                                              1. --query-port
                                                                1. --list-forward-ports
                                                                  1. --add-forward-port
                                                                    1. --remove-forward-port
                                                                      1. --query-forward-port
                                                                        1. --list-interfaces
                                                                          1. --add-interfaces
                                                                            1. --remove-interfaces
                                                                              1. --query-interfaces
                                                                                1. RULES
                                                                                  1. firewall-cmd --get-default-zones
                                                                                    1. firewall-cmd --permanent --add-service=http
                                                                                      1. firewall-cmd --reload
                                                                                        1. firewall-cmd --add-port=443/tcp
                                                                                          1. firewall-cmd --permanent --add-port=59001-59010/tcp ; firewall-cmd --reload
                                                                                            1. firewall-cmd --list-services
                                                                                              1. firewall-cmd --list-ports
                                                                                                1. iptables -L -n

                                                                                                  Annotations:

                                                                                                  • chain IN public allow
                                                                                                  1. firewall-cmd --state
                                                                                                    1. firewall-cmd --permanent --remove-service=http
                                                                                                      1. firewall-cmd --reload
                                                                                                  Show full summary Hide full summary

                                                                                                  Similar

                                                                                                  Crime and Deviance with sociological methods key terms
                                                                                                  emzelise1996
                                                                                                  Rates of Reaction
                                                                                                  Evie Papanicola
                                                                                                  GCSE Chemistry C1 - Carbon Chemistry ATOMS, MOLECULES AND COMPOUNDS (Easy)
                                                                                                  T W
                                                                                                  French -> small but important words for GCSE
                                                                                                  georgie_hill
                                                                                                  Principles of basic electrical circuits
                                                                                                  Vito Martino
                                                                                                  Biology
                                                                                                  Holly Bamford
                                                                                                  Biology -B2
                                                                                                  HeidiCrosbie
                                                                                                  AS Psychology Unit 1 - Memory
                                                                                                  Asterisked
                                                                                                  The Cold War: An Overview_2
                                                                                                  Andrea Leyden
                                                                                                  The Berlin Crisis
                                                                                                  Alina A
                                                                                                  Acids and Bases
                                                                                                  Sarah Egan