OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: user281482 on May 22, 2024, 05:59:48 PM

Title: OPNsense error by downloading the IDS suricata rules
Post by: user281482 on May 22, 2024, 05:59:48 PM
Hello!


I try now for a long time, to download and install the IDS Rules for Suricata in the newest OPNsense.
Here is a log:

download failed for https://rules.emergingthreats.net/open/suricata-7.0/version.txt (HTTPSConnectionPool(host='rules.emergingthreats.net', port=443): Max retries exceeded with url: /open/suricata-7.0/version.txt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x845b78390>, 'Connection to rules.emergingthreats.net timed out. (connect timeout=None)')))

Other things like updateing the Firware has success. Only the download / install from the rules. I allow 443 at my firewall and i cant see a error at the firewall logs.

Can anyone help me? Or can i make custom rules in OPNsense with Suricata, so i can import the rules?
Thanks.
Title: Re: OPNsense error by downloading the IDS suricata rules
Post by: user281482 on May 24, 2024, 11:29:42 AM
Solved:

I forgot the Proxy Server:

/usr/local/opnsense/service/conf/configd.conf

HTTP_PROXY=http://our-proxy.com:8080
HTTPS_PROXY=http://our-proxy.com:8080
http_proxy=http://our-proxy.com:8080
https_proxy=http://our-proxy.com:8080

Credits: https://github.com/opnsense/core/issues/1239#issuecomment-1946387279