Disabling the firewall in Ubuntu on an Amazon EC2 instance

0 votes

How do I disable the Ubuntu server firewall running inside an amazon instance, though, without using ssh? I am not able to access via ssh because of the timeout error, I think it has a firewall on the server blocking but I can not disable it precisely because it can not access. I need to somehow disable it, directly from the Amazon web console. How do I do so?

I already configured the security group in several ways, so I finally left it, with all the ports open for testing.

enter image description here

My route table is:

enter image description here

My ACLs is:

enter image description here

My instance settings: enter image description here

Already tried to connect like this using OpenSSH:

ssh -i "c: \ key \ owlcom.pem" ubuntu@ec2-54-149-193-61.us-west-2.compute.amazonaws.com

and so

ssh -i "C: \ key \ owlcom.pem" X.X.X.X <- elastic ip

and so

ssh -i "C: \ key \ owlcom.pem" ubuntu@x.x.x.x

none of them works on any of my computers using openssh or putty., setting the putty correctly with the key.ppk

Apr 12, 2022 in IoT (Internet of Things) by Soham
• 9,710 points
2,112 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

 In your AWS Dashboard, please go to Services > Compute > EC2 so you can see all your EC2 instances:

  1. Once in the EC2 dashboard, go to the "Instances" tab. Once there, locate the instance in which you want to disable the firewall. Click on it and you should be able to see a summary of the instance in the lower part of the website. After that, go to the Security Group section and click on "view inbound rules". There you will be able to see all the open ports your instance has.

  2. To modify such ports, you actually need to modify the Security Group rules your instance is attached to. To do so, click in the security group name in the panel where the "view inbound rules" was. It should take you to another page where you will be able to edit all the firewall rules.

I hope this helps you with answering your question. 

answered Apr 13, 2022 by Aditya
• 7,680 points

edited Mar 5

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer

Firewall issue with Webserver in UWP on Raspberry Pi 3

Here's what could be happenning: You port hasn't ...READ MORE

answered Oct 12, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,274 views
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer

I want to restrict the opening of Browser on URL Click

You can call it as a web ...READ MORE

answered Aug 7, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
5,965 views
0 votes
1 answer

The MQTT folder is missing in Bluemix IoT NodeJS code,

IoT-Workbench now uses new improved code generation ...READ MORE

answered Aug 8, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,201 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,458 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
1,560 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP