All Projects → erik → Holepunch

erik / Holepunch

Licence: mit
Punch holes in your AWS security groups.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Holepunch

Athena Cli
Presto-like CLI tool for AWS Athena
Stars: ✭ 85 (+28.79%)
Mutual labels:  command-line-tool, aws
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (+90.91%)
Mutual labels:  command-line-tool, aws
Ecsctl
Command-line tool for managing AWS Elastic Container Service and Projects to run on it.
Stars: ✭ 15 (-77.27%)
Mutual labels:  command-line-tool, aws
Gaze
👁️Executes commands for you
Stars: ✭ 62 (-6.06%)
Mutual labels:  command-line-tool
Terraform Aws Waf Owasp Top 10 Rules
A Terraform module to create AWF WAF Rules for OWASP Top 10 security risks protection.
Stars: ✭ 62 (-6.06%)
Mutual labels:  aws
Firecracker Containerd
firecracker-containerd enables containerd to manage containers as Firecracker microVMs
Stars: ✭ 1,130 (+1612.12%)
Mutual labels:  aws
Terraform Aws S3 Log Storage
This module creates an S3 bucket suitable for receiving logs from other AWS services such as S3, CloudFront, and CloudTrail
Stars: ✭ 65 (-1.52%)
Mutual labels:  aws
Complete Placement Preparation
This repository consists of all the material required for cracking the coding rounds and technical interviews during placements.
Stars: ✭ 1,114 (+1587.88%)
Mutual labels:  aws
Caide
Automates certain common tasks that you do during programming competitions
Stars: ✭ 65 (-1.52%)
Mutual labels:  command-line-tool
Terraform Security Scan
Run a security scan on your terraform with the very nice https://github.com/liamg/tfsec
Stars: ✭ 64 (-3.03%)
Mutual labels:  aws
Binaryalert
BinaryAlert: Serverless, Real-time & Retroactive Malware Detection.
Stars: ✭ 1,125 (+1604.55%)
Mutual labels:  aws
Ha Sap Terraform Deployments
Automated SAP/HA Deployments in Public/Private Clouds
Stars: ✭ 61 (-7.58%)
Mutual labels:  aws
Lambda Native
Make .NET AWS Lambda functions start 10x faster using LambdaNative.
Stars: ✭ 64 (-3.03%)
Mutual labels:  aws
Serverless Api Example
Example of a Golang, Serverless API
Stars: ✭ 62 (-6.06%)
Mutual labels:  aws
Uber Cli
🚗Uber, at your fingertips
Stars: ✭ 1,142 (+1630.3%)
Mutual labels:  command-line-tool
Ng Toolkit
⭐️ Angular tool-box! Start your PWA in two steps! Add Serverless support for existing projects and much more
Stars: ✭ 1,116 (+1590.91%)
Mutual labels:  aws
Learn Aws
☁️ My journey learning Amazon Web Services
Stars: ✭ 65 (-1.52%)
Mutual labels:  aws
Terraform Modules
Reusable Terraform modules
Stars: ✭ 63 (-4.55%)
Mutual labels:  aws
Curso Aws Com Terraform
🎦 🇧🇷 Arquivos do curso "DevOps: AWS com Terraform Automatizando sua infraestrutura" publicado na Udemy. Você pode me ajudar comprando o curso utilizando o link abaixo.
Stars: ✭ 62 (-6.06%)
Mutual labels:  aws
Nat
nat - the 'ls' replacement you never knew you needed
Stars: ✭ 1,129 (+1610.61%)
Mutual labels:  command-line-tool

holepunch

Build Status

Punch holes in your AWS account security.

holepunch is meant for times when you need to temporarily open ingress to an AWS security group, perhaps for development or testing remotely without a VPN set up.

This is really bad practice, but holepunch will make sure that security group rules will be reverted when you are done.

After running holepunch, just hit Ctrl-c to clear out the modified rules.

You can also run holepunch only for the duration of a shell command with --command.

By default, holepunch will refuse to remove rules that existed before it was run. This can be toggled with the --remove-existing flag.

Installation

pip install holepunch

AWS credentials can be set up in any of the places that Boto3 knows to look.

Examples

To modify security group foo_bar to permit inbound traffic from this machine to TCP port 22 (ssh):

holepunch foo_bar 22 --tcp

Modifying a security group using its id also works:

holepunch sg-62153838 443 --tcp

Apply security group rules and then ssh into a host. Rules will be reverted when SSH connection ends.

holepunch foo_bar 22 --command "ssh bastion"

Adding multiple TCP port ranges:

holepunch foo_bar 22 80 8080-8081 --tcp

Explicitly setting the IP range the rules apply to:

holepunch foo_bar --cidr=192.168.0.0/16 22 80

# Also works with IPv6 ranges
holepunch foo_bar --cidr=2001:882f::1/128 443
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].