Ingen beskrivning

Laurent HUBERT e29c65d765 Refactoring 7 år sedan
etc e29c65d765 Refactoring 7 år sedan
scripts e29c65d765 Refactoring 7 år sedan
LICENSE 0c1dd12007 Initial commit 8 år sedan
Makefile e29c65d765 Refactoring 7 år sedan
README.md e29c65d765 Refactoring 7 år sedan

README.md

Debian Light Firewall

Introduction

Ce firewall léger est inspiré de celui fournit par Nicolargo sur cette page.

Installation

Makefile

L'installation se fait par un makefile:

make install

Configuration

Editer le fichier /etc/firewall/firewall.conf et tester votre configuration

Test du firewall

Le test se fait en tapant la commande suivante:

$ sudo lightwall test

Enable the firewall

Once tested (you should at least be able to open a new ssh session when firewall is active with new configuration), you can enable and start it.

sudo systemctl enable firewall.service
sudo systemctl start firewall.service

Stopping firewall

Stopping will drop all connections (which is not really cool)

So to really clear all rules use (and open all in/out traffic):

sudo service firewall clear

And to really drop all rules use (and close all in/out traffic):

sudo service firewall dropall