Без опису

Laurent HUBERT e29c65d765 Refactoring 7 роки тому
etc e29c65d765 Refactoring 7 роки тому
scripts e29c65d765 Refactoring 7 роки тому
LICENSE 0c1dd12007 Initial commit 8 роки тому
Makefile e29c65d765 Refactoring 7 роки тому
README.md e29c65d765 Refactoring 7 роки тому

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