IPSET from external file

KatyComputer

Active Member
Sep 26, 2019
193
16
38
61
St Louis
katycomputer.com
I am considering ways of integrating the Spamhaus Drop lists into our environment. Is it possible to define an IPSET using networks defined in an external file, so something like this:
[IPSET shdrop]
include: /etc/pve/firewall/spamhaus/drop.txt
?
 
hi,

i don't think so. but you can loop through the file and add the entries to a specific ipset
 
Hi,

The best way is to block IPs from any list on your border gateway. So you will block offending traffic like this and not on the PMX level because you will waste your cpu/ram and so on.

Good luck / bafta.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!