Sc

Script to update GCP firewall rule to allow only your public IP

Hacker News

Script to update GCP firewall rule to allow only your public IP

I host my personal VM on Google Cloud Platform and access it mostly through SSH and HTTPS. As a hardening step, I've set up GCP firewall to only allow my home IP address. But my ISP changes my public IP pretty often, so I have to log in to the GCP console and change firewall rule there every time. I wrote a small Python script that automates this routine, and I thought maybe it could be useful to others.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: personal, google · Missing: mobile apps, ios, entrepreneurs
54%54% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform, host · Missing: plus, intuitive, reviews
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: google · Missing: mac, agents, macos
31%31% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
20%20% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Cf
Cfddns – A No Nonsense Script to Dynamically Update Cloudflare IP35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cfddns – A No Nonsense Script to Dynamically Update Cloudflare IP

Hacker News5
Fa
Failed Firewall Update Disaster44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Failed Firewall Update Disaster

Hacker News1
AgentGuard
AgentGuard45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The AI agent firewall: catches hijacks that pass every rule

Product Hunt+3
Deckrd
Deckrd35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The Firewall for Humanity.

Indie Hackerscommitment-full-time
Sc
Script for a Automatic Update of Gitea35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Script for a Automatic Update of Gitea

Hacker News3
On
One hostname to rule them all37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

One hostname to rule them all

Hacker News111
On
One binary to rule them all45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

One binary to rule them all

Hacker News3
On
One makefile to rule them all37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

One makefile to rule them all

Hacker News57
Er
Erlmacs – a script to update your .emacs file for Erlang development55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Erlmacs – a script to update your .emacs file for Erlang development

Hacker News44
sn
sn00p – poc app firewall31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

sn00p – poc app firewall

Hacker News2