Linux Firewalld and Amazon Security Group (network firewall) change to allow httpd (apache)

Subscribers:
1,220
Published on ● Video Link: https://www.youtube.com/watch?v=mOQzfb9RWHI



Duration: 14:38
192 views
5


In this video we install firewalld and apache on a linux AWS ec2 instance. We show some of the issues people may have and also change the security group on the firewall to allow people to connect to the apache web server.

This is part 1

Commands from this video (mistakes and all)
1 sudo yum -y install firewalld
2 firewall-cmd --state
3 firewall-cmd --list-all
4 systemctl start firewalld
5 systemctl start firewald
6 systemctl start firewalld
7 clear
8 systemctl enable firewalld
9 sudo systemctl start firewalld
10 sudo firewall-cmd --state
11 sudo firewall-cmd --list-all
12 sudo firewall-cmd --get-default-zone
13 sudo firewall-cmd --get-zones
14 firewall-cmd --get-active-zones
15 firewall-cmd --get-active-zone
16 sudo firewall-cmd --get-active-zone
17 sudo firewall-cmd --get-active-zones
18 sudo reboot
19 clear
20 sudo firewall-cmd --list-all
21 sudo firewall-cmd --zone=public --add-service http
22 sudo firewall-cmd --list-all
23 sudo yum install httpd
24 sudo systemctl httpd start
25 sudo systemctl http start
26 sudo systemctl enable httpd
27 sudo systemctl httpd start
28 sudo systemctl http start
29 clear
30 sudo netstat -tlnp
31 sudo systemctl start httpd
32 sudo netstat -tlnp
33 sudo reboot
34 sudo netstat -tnlp
35 sudo firewall-cmd --list-all
36 history
37 sudo firewall-cmd --zone=public --add-service http
38 sudo firewall-cmd --zone=public --permanent --add-service http




Other Videos By Information Technology


2023-03-06Setting Up SELINUX on aws ec2 as well as installing audit2allow
2023-03-03Setting up admin users to use sudo on Amazon Web Services EC2
2023-02-27AWS S3 and Python Lambda with an API Gateway for a simple web form
2023-02-24Setting up an Ethical Hacking Server in AWS - PLEASE STAY ETHICAL
2023-02-23What is the cost for me to switch to Amazon Web Services (AWS)
2023-02-22Why are there so many different Elastic Compute Cloud (EC2) options in AWS
2023-02-21What are some of the other properties of Amazon Web Service (AWS) Simple Storage Service (S3)
2023-02-20AWS S3 finding prior versions of deleted files
2023-02-17Creating Amazon Web Services (AWS) Simple Storage Service (S3) Bucket and enabling versioning
2023-02-16What else can we do with firewalld... masquerade and forward incoming requests
2023-02-14Linux Firewalld and Amazon Security Group (network firewall) change to allow httpd (apache)
2023-02-13Learn and use Amazon Web Services for free with AWS Educate... It has a new focus
2023-02-10AWS Elastic File System (EFS)(NFS) goes away after reboot. Lets add it to the /etc/fstab
2023-02-10Mounting Elastic File System(EFS)(NFS) to an EC2 Instance AWS, Beware of Security Groups blocking
2023-02-10Some general certification information and renewal options CPE CEU and taking the tests
2023-02-09Well, it looks like I have the CompTIA CSCP stackable certification
2023-02-08It looks like I have the CompTIA CCAP stackable certification
2023-02-07The Cloud+ playlist is complete, but is it done :)
2023-02-06Next Gen Firewalls with Intrusion Detection / Prevention Taught with Candy
2023-02-03Media is biased, and often, people choose propaganda over real news. This affects cybersecurity.
2023-02-02Dissasociating an elastic IP and assigning it to another computer