Port knocking for AWS security groups
Project description
aws-portknock
Port knocking for AWS security groups
"Port knocking"
Unlike the traditional port knocking utilities, this tool relies on the caller having the rights, through Amazon Web Services' Identity and Access Management roles, to modify a security group.
Usage
$ aws-portknock --help
Usage: aws-portknock [OPTIONS]
Options:
--port INTEGER Port to open
--profile TEXT Configuration profile to use
--sgid TEXT Security group ID
--help Show this message and exit.
aws-portknock
will determine the caller's public IP and add a rule
to the security group allowing access to the requested port from that
IP. It then sleeps until the user quits by using CTRL-C.
If a matching rule already exists, nothing happens on exit; otherwise,
that added rule is deleted when aws-portknock
exits.
For repeated use, create $HOME/.aws/portknock.ini
containing, for example:
[default]
sgid = sg-12abcdef
port = 22
[webprofile]
sgid = sg-12abcdef
port = 443
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aws-portknock-0.1.2.tar.gz
.
File metadata
- Download URL: aws-portknock-0.1.2.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc61d141f40c9e6a1f50a55349a975f8eacd8c0d1bdb96046af972e22564b0de |
|
MD5 | aa6ef6dab952fa89ceffdc9cc71c8696 |
|
BLAKE2b-256 | 787dce8c331a45872c167e63d7a9a6dc5efd5b5a6f7063f281678bb4d93ec6d6 |
File details
Details for the file aws_portknock-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: aws_portknock-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58445bbcc4b29578804f951537e1e23c87815a18dd85c05a016a5f6656994c1a |
|
MD5 | 3de025a5fffacc2a6490a7391a66d584 |
|
BLAKE2b-256 | 979e6aaabd912e6059d538611fc438c9b256269bc25770c6c5fef7edb99f7cb6 |