voip PBX 的 sms 簡訊轉發到 discord bot 方法 byDavid Chiang •09:13 /etc/asterisk/extensions_custom.conf [from-trunk-dongle] exten => sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${BASE64_DECODE(${SMS_BASE64})}) exten => sms,n,Set(FILE(/var/log/asterisk/sms.txt,,,a)=${STRFTIME(${EPOCH}…
mikrotik dns 劫持的做法 byDavid Chiang •09:48 mikrotik dns 劫持實作方法 效果,可以把google home音響等設備8.8.8.8的dns查詢都導入到 自家的adguardhome 10.0.0.8是adguardhome docker 10.0.0.1是mikrotik --- ;打開快取 /ip dns set allow-remote-requests=yes 打開防火牆 /ip firewall nat ;設定內部的DNS local Chian=dstnat,Protoc…