Unable to SSH, http, or https to an instance

0

We have configured a floating IP, private IP, SG for the instance, and nacl for the subnet the instance is on but can't reach instance i-0788694f5dec6b823. We originally had a default public IP assigned and changed it to a floating IP as part of our troubleshooting.

We have nacl similar to https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#default-network-acl

DTSJ
demandé il y a 5 ans281 vues
3 réponses
0

Hello
your floating ip is an elastic ip?
the instance is on a vpc that has an internet gateway and has the right SG and routing tables?

hope this helps
RT

rtt
répondu il y a 5 ans
0

Hi,
The floating is an elastic. We can now SSH which means routing is ok. But, we are using the CIS Centos image and are having trouble with any other protocol, http/https/.

 sestatus  
SELinux status:                 enabled  
SELinuxfs mount:                /sys/fs/selinux  
SELinux root directory:         /etc/selinux  
Loaded policy name:             targeted  
Current mode:                   enforcing  
Mode from config file:          enforcing  
Policy MLS status:              enabled  
Policy deny_unknown status:     allowed  
Max kernel policy version:      31  
  
sudo setsebool httpd_can_network_connect on -P  
  
This usually works for SE linux to let NGINX serve up content.
DTSJ
répondu il y a 5 ans
0

Thank you for taking the time to share this. This was right up the alley with what we needed.

DTSJ
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions