nmfta-repo / nmfta-bouncer

REST interface for the UFW firewall
Apache License 2.0
1 stars 2 forks source link

NMFTA's Project Bouncer

alt text

This is the README for the Bouncer Project.

This RESTful API has implemented features for IP and Geo Location based blocking. It operates through the UFW firewall. Changes made to the firewall's database are implimented every minute.

There is no admin or valid user account to start with. Add the --testing flag in the start.sh script to enable the registration page.

RESTful API Description

This repository also hosts the Bouncer RESTful API; in API Blueprint format 1A.

The API is pubished in various forms:

Geo IP Database

The ipv4geolist.csv was downloaded from http://lite.ip2location.com. The list is updated periodically so make sure to download the most recent version to keep the database upto date.

Terms of Use for ipv4geolist.csv can be viewed online at https://lite.ip2location.com/terms-of-use

Client Installation

Server Installation

Bouncer realizes firewall changes by executing ufw commands. It requires a working UFW installation (probably on Linux). Other server deps

Setting up the Appliance

Running Bouncer REST API in Apache