pfsense:suricata:custom_rules
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:suricata:custom_rules [2020/03/01 21:51] – peter | pfsense:suricata:custom_rules [2021/01/21 10:21] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PFSense - Suricata - Custom Rules ====== | ||
- | |||
- | <WRAP warning> | ||
- | **WARNING: | ||
- | |||
- | Make sure you pick a starting SID number that does not conflict with any existing SIDs from other enabled rules. | ||
- | |||
- | Usually from 1000000. | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | To create custom passlist rules go to the RULES tab for the interface, choose CUSTOM RULES in the Category drop-down and then type in the rules you need. | ||
- | |||
- | < | ||
- | Services > Suricata > Interfaces > INTERFACE > INTERFACE Rules > custom.rules | ||
- | </ | ||
- | |||
- | There are plenty of examples on the web. | ||
- | |||
- | You can add restrictions by protocol, port and source or destination IP address. | ||
- | |||
- | <WRAP important> | ||
- | WARNING: | ||
- | </ | ||
- | |||
- | |||
- | < | ||
- | alert icmp any any -> any any (msg:" | ||
- | |||
- | pass ip 1.2.3.4 any <> any any (msg:" | ||
- | |||
- | pass ip 192.168.1.22/ | ||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== References ===== | ||
- | |||
- | https:// | ||
- | |||
- | http:// | ||
pfsense/suricata/custom_rules.1583099512.txt.gz · Last modified: 2020/07/15 09:30 (external edit)