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
posta 5 anni fa281 visualizzazioni
3 Risposte
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
con risposta 5 anni fa
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
con risposta 5 anni fa
0

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

DTSJ
con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande