Harold,
Also the dynamic firewall filter compatible with fw4 (OpenWrt version 22.03.3+. NOTE:
subversion 0, 1 and 2 had issues/bugs with processing this script, use version
22.03.3+):
#!/bin/sh# load encap.txt into ipipfilter list
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
cd /tmp || exit 1
###########################
rm /tmp/ipip_filter.txt 2>/dev/null
echo 169.228.34.84 >> /tmp/ipip_filter.txt
grep addprivate /var/lib/ampr-ripd/encap.txt | sed -e 's/.*encap //' | sort -u |
while read ipdo echo $ip >> /tmp/ipip_filter.txtdone
fw4 reload-sets
exit 0
#####
----
KB3VWG