Hi,
I am deploying a chef server on ec2 instance. I used to open all the ports as specified in the article:
https://docs.chef.io/server_firewalls_and_ports.html.
The source was from anywhere (0.0.0.0/0).
It is certainly not the best practice to use such security group in production. So, I need to limit the ports to the minimum and use the minimal source which enables me to work smoothly.
The first port which caused an issue is 443. I understand that my ip should be in the source and every instance which has the same security group enabled. To translate it to EC2 syntax:
Security group id -
Rules:
Type: HTTPS, Protocol: tcp, Port Range: 443, source:
Type: HTTPS, Protocol: tcp, Port Range: 443, source:
But, it doesn’t work. When I open the port to anywhere its working.
Type: HTTPS, Protocol: tcp, Port Range: 443, source: 0.0.0.0/0
Can you advice why is that and what is the most limited configuration for this port to work for me?
Thanks,
Liora