Firewall and SELINUX - RHCSA

Beschreibung

Mindmap am Firewall and SELINUX - RHCSA, erstellt von Luiz Eduardo am 13/11/2019.
Luiz  Eduardo
Mindmap von Luiz Eduardo, aktualisiert more than 1 year ago
Luiz  Eduardo
Erstellt von Luiz Eduardo vor mehr als 4 Jahre
5
0

Zusammenfassung der Ressource

Firewall and SELINUX - RHCSA

Anmerkungen:

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

Anlagen:

  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

                                                                                                  Anmerkungen:

                                                                                                  • chain IN public allow
                                                                                                  1. firewall-cmd --state
                                                                                                    1. firewall-cmd --permanent --remove-service=http
                                                                                                      1. firewall-cmd --reload
                                                                                                  Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                                                                  ähnlicher Inhalt

                                                                                                  Induktionsstrom und Transformatoren
                                                                                                  Peter Kasebacher
                                                                                                  Wie schreibe ich eine wissenschaftliche Arbeit
                                                                                                  Antonia C
                                                                                                  GPSY ALPS
                                                                                                  Simon Wirsching
                                                                                                  FOST 3 - Inferenzstatistik
                                                                                                  Kathy H
                                                                                                  Vetie - Biochemie - Formelsammlung
                                                                                                  Fioras Hu
                                                                                                  BM 20- Biographie und Lebensalter
                                                                                                  Anna c.
                                                                                                  Die Geschichte der DDR von 1945-1989
                                                                                                  Wie Ja
                                                                                                  AOW-Psychologie SS18
                                                                                                  Anna Huber
                                                                                                  Vetie - Pharma 2018
                                                                                                  Fioras Hu
                                                                                                  Innere Schwein Vetie
                                                                                                  Anne Käfer
                                                                                                  Repro 2016 Vetie
                                                                                                  Julia To