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 over 4 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

                                                                                                  French Intermediate
                                                                                                  PatrickNoonan
                                                                                                  Atoms and Reactions
                                                                                                  siobhan.quirk
                                                                                                  Weimar Revision
                                                                                                  Tom Mitchell
                                                                                                  GCSE Revision: Christianity
                                                                                                  Andrea Leyden
                                                                                                  A Level: English language and literature techniques = Lexis
                                                                                                  Jessica 'JessieB
                                                                                                  History- Home Front WW1
                                                                                                  jessmitchell
                                                                                                  GCSE AQA Chemistry Atomic Structure and Bonding
                                                                                                  Joseph Tedds
                                                                                                  Unit 1: Business Studies GCSE
                                                                                                  Libby Rose
                                                                                                  English Language Techniques
                                                                                                  lewis001
                                                                                                  AS level Maths Equations to Remember
                                                                                                  Gurdev Manchanda
                                                                                                  Of Mice and Men Plot Overview
                                                                                                  Landon Valencia