Hi,
Thank you for the clarification, that makes sense now.
I appreciate the quick and detailed response.
Thank you for the clarification, that makes sense now.
I appreciate the quick and detailed response.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
Stopping crowdsec.
Waiting for PIDS: 14449.
Waiting for PIDS: 92556vi /usr/local/etc/dnsmasq.conf.d/dnsmasq-ipset.conf# Add the response for certain A/AAAA lookups to an OPNsense alias
ipset=/microsoft.com/windowsupdate.com/windows.net/Microsoft_IPs_a,Microsoft_IPs_b
# Uncomment these if Unbound is still your primary DNS server; otherwise, it may cause a loop
no-resolv
server=1.1.1.2
server=1.0.0.2
server=9.9.9.9
server=149.112.112.112vi /usr/local/opnsense/service/conf/actions.d/actions_alias-flush.conf[flush]
command:/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables_blk.lock /usr/home/alias-flush.sh
parameters: %s
type:script_output
message:Alias IPs flushed
description:Flush IPs from aliasservice configd restartvi /usr/home/alias-flush.sh#!/bin/sh
# Check if the alias name is provided as a parameter
if [ -z "$1" ]; then
echo "Error: No alias name provided."
exit 1
fi
ALIAS_NAME="$1"
pfctl -t "$ALIAS_NAME" -T flush
if [ $? -eq 0 ]; then
echo "Alias '$ALIAS_NAME' flushed successfully."
exit 0
else
echo "Error while flushing alias '$ALIAS_NAME'."
exit 1
fichmod 755 /usr/home/alias-flush.shenabled: Check
Minutes: 4
Hours: 3
Days of the months: *
Months: *
Days of the week: 1,3,5,7
Command: Flush IPs from alias
Parameters: Microsoft_IPs_a (Must be the exact name of you external alias)
Description: Flush - Microsoft_IPs_a
enabled: Check
Minutes: 5
Hours: 3
Days of the months: *
Months: *
Days of the week: 2,4,6
Command: Flush IPs from alias
Parameters: Microsoft_IPs_b (Must be the exact name of you external alias)
Description: Flush - Microsoft_IPs_b