Skip to content

Allow traffic from self in Bastion SG #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Conversation

tjohnes
Copy link
Collaborator

@tjohnes tjohnes commented Jun 24, 2024

#22 added restrictions on the Bastion SG.

Some example configurations put the primary ENA of each EC2 instance in the Bastion SG. This used to be fine for access - because the Bastion SG was open to everyone, so you could SSH to the Bastion, and then to the EC2 instance.

This is now not possible if you restrict traffic to the Bastion to certain CIDRs. You can SSH to the Bastion, but you cannot then jump to the EC2 instance, because traffic no longer originates at the allowed CIDR.

Add an SGR to the Bastion SG to allow all traffic from itself.

@tjohnes tjohnes marked this pull request as ready for review June 24, 2024 13:47
@tjohnes tjohnes merged commit ec8b22e into main Jun 24, 2024
2 checks passed
@tjohnes tjohnes deleted the add-bastion-self-ingress-sgr branch June 24, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants