Skip to content

jharshman/fwsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 16, 2025
74364e1 · Jan 16, 2025

History

51 Commits
Jan 16, 2025
Jun 16, 2023
Jun 14, 2023
May 17, 2023
May 16, 2023
May 17, 2023
Jan 16, 2025
Jun 14, 2023
Jan 15, 2025
Jan 15, 2025
Jan 16, 2025
Jun 23, 2023

Repository files navigation

fwsync

CI Go Report Card

Provides CLI interface to update your personal Firewall Rules associated with your Cloud Development VM.

Installation

Install by running the following in your terminal:

$ curl https://raw.githubusercontent.com/jharshman/fwsync/master/install.sh | sh

Usage

Authentication

The reccomended method of authentication is to run the following command:

$ gcloud auth application-default login

Init

After installing, you can invoke the CLI by typing fwsync in your terminal. This by default will display some usage information.

To initialize fwsync type fwsync init. This will walk you through steps in selecting the correct firewall to manage and will write out fwsync's config file which will be located at $HOME/.bitly_firewall.

Update

If your IP updates and you notice you've lost access to your CloudVM, you can invoke fwsync update to automatically detect your new IP address and update your Firewall Rule.

About

IP configuration manager for GCP Firewall Access

Resources

License

Stars

Watchers

Forks

Packages

No packages published