fwsync

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: BSD-2-Clause Imports: 8 Imported by: 0

README

fwsync

CI Go Report Card

Provides CLI interface to update your personal Firewall Rules associated with your Google 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/.fwsync.

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL