So thinking of installing suricata but just want to check if this is correct:
apt-get install suricata
modprobe nfnetlink_queue
nano /etc/pve/firewall/132.fw
Add below to the file above
[OPTIONS]
ips: 1
ips_queues: 0
Now go to proxmox a be sure on Datacenter the firewall is enabled which it is
Then go to VM level and ensure the firewall is on the network under hardware and on in firewall section and loglevel set to debug for now.
Once done go to /etc/suricata/suricata.yaml
And change eth0 to eno1 as proxmox host server network is eno1?
af-packet:
- interface: eth0
to
af-packet:
- interface: eno1
and
pcap:
- interface: eth0
to
pcap:
- interface: eno1
Once done restart suricata and I am done?
Getting missing rules issue though
6/10/2022 -- 14:38:39 - <Info> - stats output device (regular) initialized: stats.log
6/10/2022 -- 14:38:39 - <Warning> - [ERRCODE: SC_ERR_NO_RULES(42)] - No rule files match the pattern /etc/suricata/rules/suricata.rules
6/10/2022 -- 14:38:39 - <Warning> - [ERRCODE: SC_ERR_NO_RULES_LOADED(43)] - 1 rule files specified, but no rules were loaded!
So not sure if its working now or not.
Any ideas what I am missing.
apt-get install suricata
modprobe nfnetlink_queue
nano /etc/pve/firewall/132.fw
Add below to the file above
[OPTIONS]
ips: 1
ips_queues: 0
Now go to proxmox a be sure on Datacenter the firewall is enabled which it is
Then go to VM level and ensure the firewall is on the network under hardware and on in firewall section and loglevel set to debug for now.
Once done go to /etc/suricata/suricata.yaml
And change eth0 to eno1 as proxmox host server network is eno1?
af-packet:
- interface: eth0
to
af-packet:
- interface: eno1
and
pcap:
- interface: eth0
to
pcap:
- interface: eno1
Once done restart suricata and I am done?
Getting missing rules issue though
6/10/2022 -- 14:38:39 - <Info> - stats output device (regular) initialized: stats.log
6/10/2022 -- 14:38:39 - <Warning> - [ERRCODE: SC_ERR_NO_RULES(42)] - No rule files match the pattern /etc/suricata/rules/suricata.rules
6/10/2022 -- 14:38:39 - <Warning> - [ERRCODE: SC_ERR_NO_RULES_LOADED(43)] - 1 rule files specified, but no rules were loaded!
So not sure if its working now or not.
Any ideas what I am missing.