Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/posener/eztables

iptables in web browser
https://github.com/posener/eztables

iptables

Last synced: 20 days ago
JSON representation

iptables in web browser

Awesome Lists containing this project

README

        

# eztables

[![Build Status](https://travis-ci.org/posener/eztables.svg?branch=master)](https://travis-ci.org/posener/eztables)
[![codecov](https://codecov.io/gh/posener/eztables/branch/master/graph/badge.svg)](https://codecov.io/gh/posener/eztables)
[![GoDoc](https://godoc.org/github.com/posener/eztables?status.svg)](http://godoc.org/github.com/posener/eztables)
[![Go Report Card](https://goreportcard.com/badge/github.com/posener/eztables)](https://goreportcard.com/report/github.com/posener/eztables)

Easy to understand web view of iptables rules

![screenshot](./screenshot.png "Screenshot")

## Run with Docker

```bash
docker run -d --restart always --name eztables --net host --privileged posener/eztables:v1.0
```

> You should have docker installed, configured and running

## Download Binary

Binary releases are available [here](https://github.com/posener/eztables/releases).
Copy the URL of a binary that suites your machine architecture and OS, and use
the following commands to download and install it.

```bash
sudo curl -o /usr/bin/eztables
sudo chmod +x /usr/bin/eztables
```

## Install

```bash
go get -u github.com/posener/eztables
bash -c "sudo cp $(which eztables) /usr/bin/"
```

> `eztables` must run with root privileges since it runs `iptables` as a sub process.
> Therefore, I recommend copy the executable to `/usr/bin`.

## Usage

```bash
sudo eztables
```

> `eztables` should run with root privileges, since it runs `iptables` as a sub process.