From 3a37e640ba952bbaf726b38077f8d0adf6850fec Mon Sep 17 00:00:00 2001
From: Thuban <thuban@yeuxdelibad.net>
Date: Wed, 29 Mar 2017 12:13:09 +0000
Subject: [PATCH] major update, better init script

---
 README.md |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 821e44e..2c90965 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,9 @@
 # vilain
-
-
 Mimic fail2ban with pf for OpenBSD.
 
 Inspired from http://www.vincentdelft.be/post/post_20161106
 
-This repository is just for work.
-See here for last vilain "stable" version : http://git.yeuxdelibad.net/vilain/  
-
-
-In pf.conf, add : 
+In pf.conf, add according to your configuration : 
 
     table <vilain_bruteforce> persist
     block quick from <vilain_bruteforce> 
@@ -23,4 +17,14 @@
     pfctl -t vilain_bruteforce -T show
 
 
+To start vilain at boot, add this in ``/etc/rc.local``
 
+```
+/usr/bin/tmux new -s vilain -d /usr/local/bin/vilain
+```
+
+Then, to attach to the tmux session, run : 
+
+```
+tmux a -t vilain
+```

--
Gitblit v1.9.3