stamparm / ipsum

Daily feed of bad IPs (with blacklist hit scores)
The Unlicense
1.51k stars 136 forks source link

ufw usage #32

Closed mewcrazy closed 1 year ago

mewcrazy commented 1 year ago

Hi,

I'd love to use your banlist in my setup. I'm already using the "ufw-bots" banlist with ufw: https://github.com/brahma-dev/ufw-bots

I'm quite new to Linus. Is it safe to additionally use yours with iptables? I'd rather not want to lose all my existing ufw rules.

stamparm commented 1 year ago

AFAICS, ufw can be used in parallel with iptables/ipset, BUT... you have an option to use ipset/iptables in ufw-bots too (see: https://github.com/brahma-dev/ufw-bots/blob/master/files/iptables.sh), which would be even more "safe"

anyhow, ufw is a frontend to iptables (see: https://wiki.ubuntu.com/UncomplicatedFirewall). thus, there should be no problems in either case