TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Script to update GCP firewall rule to allow only your public IP

1 pointsby peterdeminover 2 years ago
I host my personal VM on Google Cloud Platform and access it mostly through SSH and HTTPS. As a hardening step, I&#x27;ve set up GCP firewall to only allow my home IP address.<p>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.<p>I wrote a small Python script that automates this routine, and I thought maybe it could be useful to others.

no comments

no comments