|prasket beebdd0e6a||1 month ago|
|.gitignore||1 month ago|
|LICENSE||3 years ago|
|Pipfile||1 month ago|
|Pipfile.lock||1 month ago|
|README.md||1 month ago|
|cloud-fw-ip-updater.py||1 month ago|
A Python application that updates a cloud provider firewall/security group based off of your current IP address.
pipenv installto install the python requirements listed in Pipefile/Pipfile.lock in a new virtual environment. Make sure to install pipenv from above link before this.
Before you can run the program you will need to activate/enter your python virtual environment using
pipenv shell then run the following commands.
python cloud-fw-ip-updater.py --cloud aws --fw_id sg-abc123456
For Digital Ocean
python cloud-fw-ip-updater.py --cloud do --fw_id AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE --do_token XXXXXXXXXXXXXXXXXXXXX
I frequently use a VPN, especially when on public or unknown Wi-Fi. For this reason I was always having to login to various Cloud providers console to update the cloud firewall updating my IP. I decided to write this python script to solve this problem.