Hi,
I have a small Rspi with Hiawatha, PHP-FPM and Firetable. Its working fine together. I was a bit nerved, because Firetable logs are in syslog
So my solution is:
Add a file /etc/rsyslog.d/firetable.conf
with content:
:msg,contains,"FIRETABLE4: " /var/log/iptables.log
:msg,contains,"FIRETABLE6: " /var/log/iptables.log
And add in logrotate /var/log/iptables.log
For interested people: http://projects.leisink.net/Firetable/ test it
Firetable is a nice and easy tool to setup proper iptables like this:
accept incoming tcp to server:{ 80, 443 }
accept incoming udp to server:{ 1194 }
accept incoming icmp type { 11, 8 } from anywhere to server
drop incoming udp to anywhere:{ 137, 138 }
accept outgoing ip
Thank you Hugo!
BTW: I use an os language other than english, so I had to adapt some lines at 748 ... ( /usr/sbin/firetable )
Firetable 5.3
Hiawatha version: 9.6
Operating System: Debian