Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alegrey91/fwdctl
⛓️ CLI tool to easily manage IPTables forwards
https://github.com/alegrey91/fwdctl
Last synced: about 2 months ago
JSON representation
⛓️ CLI tool to easily manage IPTables forwards
- Host: GitHub
- URL: https://github.com/alegrey91/fwdctl
- Owner: alegrey91
- License: apache-2.0
- Created: 2022-08-13T18:30:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T21:37:38.000Z (about 2 months ago)
- Last Synced: 2024-04-24T16:44:10.031Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 2.82 MB
- Stars: 43
- Watchers: 2
- Forks: 6
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-go - fwdctl - A simple and intuitive CLI to manage IPTables forwards in your Linux server. (Networking / Transliteration)
- awesome-go - fwdctl - A simple and intuitive CLI to manage IPTables forwards in your Linux server. (Networking / Transliteration)
- awesome-go - fwdctl - A simple and intuitive CLI to manage IPTables forwards in your Linux server. (Networking / Transliteration)
- trackawesomelist - fwdctl (⭐43) - A simple and intuitive CLI to manage IPTables forwards in your Linux server. (Recently Updated / [Apr 24, 2024](/content/2024/04/24/README.md))
- awesome-go-with-stars - fwdctl - A simple and intuitive CLI to manage IPTables forwards in your Linux server. (Networking / Transliteration)
README
# fwdctl
[![Go Reference](https://pkg.go.dev/badge/github.com/alegrey91/fwdctl.svg)](https://pkg.go.dev/github.com/alegrey91/fwdctl)
[![Go Report Card](https://goreportcard.com/badge/github.com/alegrey91/fwdctl)](https://goreportcard.com/report/github.com/alegrey91/fwdctl)
[![Go Coverage](https://github.com/alegrey91/fwdctl/wiki/coverage.svg)](https://raw.githack.com/wiki/alegrey91/fwdctl/coverage.html)
![https://img.shields.io/ossf-scorecard/github.com/alegrey91/fwdctl?label=openssf%20scorecard&style=flat](https://img.shields.io/ossf-scorecard/github.com/alegrey91/fwdctl?label=openssf%20scorecard&style=flat)
[![Awesome](https://awesome.re/badge.svg)](https://github.com/avelino/awesome-go/)**fwdctl** is a simple and intuitive CLI to manage forwards in your **Linux** server.
## How it works
It essentially provides commands to manage forwards, using **iptables** under the hood.
Let's do an example:
Suppose you have an **hypervisor** server that hosts some virtual machines inside itself. If you need to expose an internal service, managed by one of these VMs, you can use **fwdctl** from the hypervisor to add the forward to expose this service.
![example](./fwdctl-example.png)
To do so, you have to type this easy command:
``` shell
sudo fwdctl create --destination-port 3000 --source-address 192.168.199.105 --source-port 80
```That's it.
Full **documentation** [here](docs/getting-started.md).
## Installation
#### Linux x86_64
```shell
curl -s https://raw.githubusercontent.com/alegrey91/fwdctl/main/install | sudo sh
```