# This rule drops all tcp traffic on User Ports from the internet to your local networkdrop tcp $EXTERNAL_NET any -> $HOME_NET [1024:65535] (msg:"Block User Ports"; classtype:bad-unknown; sid:9900001; rev:1;)
<?xml version="1.0"?><ruleset documentation_url="http://docs.opnsense.org/"> <location url="https://www.mydomain.com/suricata/" prefix="Custom"/> <files> <file description="custom rules">Custom.rules</file> <file description="Custom" url="inline::rules/Custom.rules">Custom.rules</file> </files></ruleset>
There may be some who cringe at this post, but I find that adding custom IDS rules is a much needed addition to OPNsense and here is a tutorial on how to accomplish it.
My pleasure