All Projects → piyushsonigra → aws_ipadd

piyushsonigra / aws_ipadd

Licence: MIT License
Whitelist and manage your public IP address in the AWS security group

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to aws ipadd

whitelister
Simple, basic filtering and validation tool for Node.js.
Stars: ✭ 46 (+53.33%)
Mutual labels:  whitelist
portakal
Bulk port checker written with Go
Stars: ✭ 18 (-40%)
Mutual labels:  port
knockonports
A port knocking client for Android
Stars: ✭ 25 (-16.67%)
Mutual labels:  port
PSnmap
Svendsen Tech's PowerShell nmap-like port scanner accepting IPv4 CIDR notation
Stars: ✭ 37 (+23.33%)
Mutual labels:  port
get cnip
获取国内 IP 和域名,生成路由表和 PAC 文件
Stars: ✭ 206 (+586.67%)
Mutual labels:  whitelist
magento-2-security
Magento 2 Security extension FREE. Security extension gives store owners the ability to detect the IP addresses that are intentionally attacking their store at any given time. Therefore, they have timely measures to prevent this issue such as blocking those IP addresses or sending warning emails to store owners.
Stars: ✭ 40 (+33.33%)
Mutual labels:  whitelist
host-flash
Updates the Linux hosts file to block access to reported bad (malicious) hosts, ad server hosts and custom set hosts. Bad hosts list freshly compiled each run from the lists released by hosts-file.net and mvps.org. Also features custom blocklist, whitelist, undo and restore options. This hosts file update program is interactive.
Stars: ✭ 14 (-53.33%)
Mutual labels:  whitelist
unbound-dns-firewall
DNS-Firewall Python script for UNBOUND
Stars: ✭ 23 (-23.33%)
Mutual labels:  whitelist
tg-inviter
Generate personal invite links for Telegram channels
Stars: ✭ 26 (-13.33%)
Mutual labels:  whitelist
arxwasm
Port of Arx Libertatis to WebAssembly using Emscripten
Stars: ✭ 28 (-6.67%)
Mutual labels:  port
AR9285-rebranding
Wireless card rebranding
Stars: ✭ 17 (-43.33%)
Mutual labels:  whitelist
mpv-gif-generator
Creates animated gifs using mpv hotkeys
Stars: ✭ 32 (+6.67%)
Mutual labels:  port
AdGuard-Home-Whitelist
A strict curated whitelist for AdGuard Home.
Stars: ✭ 50 (+66.67%)
Mutual labels:  whitelist
Flurry-WebGL
WebGL port of Flurry screensaver
Stars: ✭ 58 (+93.33%)
Mutual labels:  port
enableallExtensions
Automatically add all existing Chrome extensions to ExtensionInstallWhitelist, including non-webstore ones
Stars: ✭ 23 (-23.33%)
Mutual labels:  whitelist
AntiBot
Lightweight BungeeCord plugin that aims to stop attacks on your server quickly and efficiently.
Stars: ✭ 42 (+40%)
Mutual labels:  whitelist
imgui-java
JNI based binding for Dear ImGui
Stars: ✭ 270 (+800%)
Mutual labels:  port
retrie
Efficient Trie-based regex unions for blacklist/whitelist filtering and one-pass mapping-based string replacing
Stars: ✭ 35 (+16.67%)
Mutual labels:  whitelist
exile
Alternative to ports for running external programs. It provides back-pressure, non-blocking io, and solves port related issues
Stars: ✭ 74 (+146.67%)
Mutual labels:  port
CyberSecurity-Box
Firewall-System based on OpenWRT or Pi-Hole with UnBound, TOR, optional Privoxy, opt. ntopng and opt. Configuration of the AVM FRITZ!Box with Presets for Security and Port-List. Please visit:
Stars: ✭ 20 (-33.33%)
Mutual labels:  whitelist

Actions Status

aws_ipadd

Add or Whitelist inbound IP and Port in AWS security group and manage AWS security group rules with aws_ipadd command. It makes easy to add your public ip into security group to access AWS resource. Whenever your public ip change, You can easily update new public ip into security group and aws_ipadd command will manage security group rule for you. It's very helpful when you are accessing aws resources that needs public ip whitelisting in security group to access and your public ip is continously changed.

OS Support

Currently aws_ipadd supports the following Operating System

  • Mac OS X (64bit)
  • Linux (64bit)

🚀 Installation

Download aws_ipadd for your operating system

Linux

wget -c https://github.com/piyushsonigra/aws_ipadd/releases/latest/download/aws_ipadd_linux_x64.tar.gz -O - | tar -xz -C /usr/local/bin/

OSX

wget -c https://github.com/piyushsonigra/aws_ipadd/releases/latest/download/aws_ipadd_osx_x64.tar.gz -O - | tar -xz -C /usr/local/bin/

Note: If you get errors related to permission or access, Please run command with sudo.

configuration

Run below commands to conifgure aws_ipadd command.

Create directory ~/.aws_ipadd at your home directory.

mkdir ~/.aws_ipadd

Create configuration file aws_ipadd inside ~/.aws_ipadd.

touch ~/.aws_ipadd/aws_ipadd

Edit the ~/.aws_ipadd/aws_ipadd file and add below Informations as shown in sample configuration file. You can also checkout the config-example.txt file in the project for multi profile configuration.

  • aws_ipadd profile name in []: my_project_mysql and my_project_ssh is aws_ipadd profiles to identify configuration which security group rule need to update with port, IP, rule_name and security group region for different AWS account profiles.

  • aws_profile: aws_profile is name of AWS profile configured for awscli.

  • region_name: AWS region name in which security group is present.

  • security_group_id: AWS security group id.

  • rule_name: AWS security group rule name to identify rule purpose.

  • protocol: Port protocol name i.e TCP, UDP or valid port protocol that security group accept.

  • port: Network port to whitelist with IP.

Below is the sample configuration of ~/.aws_ipadd/aws_ipadd file.

$ cat ~/.aws_ipadd/aws_ipadd
[my_project_ssh]
aws_profile = my_project
security_group_id = sg-d26fdre9d
protocol = TCP
port = 22
rule_name = my_office_ssh
region_name = us-east-1

[my_project_mysql]
aws_profile = my_project
security_group_id = sg-dfg9dwe
protocol = TCP
port = 3306
rule_name = my_office_mysql
region_name = us-east-1

Usage

Run the aws_ipadd command with aws_ipadd profile.

$ aws_ipadd my_project_ssh
  Your IP 12.10.1.14/32 and Port 22 is whitelisted successfully.

If your public IP is changed, aws_ipadd will update aws security group rule with your current public IP.

$ aws_ipadd my_project_ssh
  ---------------
  my_project_ssh
  ---------------
  Modifying existing rule...
  Removing old whitelisted IP '12.10.1.14/32'.
  Whitelisting new IP '131.4.10.16/32'.
  Rule successfully updated!

You can also configure cronjob to check and keep whitelisted your Public IP in one or more security groups.

# Run every hour
* */1 * * * /usr/local/bin/aws_ipadd project_ssh project_rdp

Feature Update

Now you can run multiple profiles/configurations at once. Don't forget to update the config file, with relative configurations. Check config-example.txt file for reference.

$ aws_ipadd prod test dev stage

Licence

Thanks

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].