Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.91 KB

File metadata and controls

56 lines (41 loc) · 1.91 KB

fwsync

logo

CI Go Report Card

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

Installation

Install by running the following in your terminal:

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

Usage

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.

Help

There's other commands available too! Type fwsync help to see the full list of available commands.

Available Commands:
  get-ip      Fetches your current public IP.
  help        Help about any command
  init        Initialize fwsync configuration.
  list        Display your firewall's allowed IPs.
  sync        Synchronize local config with firewall
  update      Allow a new IP on the firewall.
  version     Display version information and check for updates.

Supported Providers

Note: I am currently working on implementing more providers like AWS, Azure, and DigitalOcean. Contributions are welcome.

Contributing

Interested in contributing to fwsync? Check out the contribution guide.