From: Ian Kelling Date: Mon, 22 Apr 2024 04:28:22 +0000 (-0400) Subject: unify dns related config, change some dns settings X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=55a745005e7af1e3633b286d5ac1a28ba4fac6ce;p=automated-distro-installer unify dns related config, change some dns settings --- diff --git a/wrt-setup b/wrt-setup index 83b1c76..7b549ae 100755 --- a/wrt-setup +++ b/wrt-setup @@ -77,7 +77,7 @@ scp /a/work/libremanage/libremanage /a/bin/fai/wrt-init /a/bin/fai/wrt-setup-loc #/a/opt/openwrt/source/bin/packages/mips_24kc/mypackages/relay_1.0-1_mips_24kc.ipk \ scp /q/root/shadow/router /p/c/machine_specific/wrt/etc/dropbear/dropbear_rsa_host_key \ - /p/router-secrets /p/c/machine_specific/wrt/etc/wg.{key,psk} /b/ds/ptr-data /b/bash-bear-trap/bash-bear $h: + /p/router-secrets /p/c/machine_specific/wrt/etc/wg.{key,psk} /p/ptr-data /p/dnsmasq-data /b/bash-bear-trap/bash-bear $h: scp ../openwrtkeyring/usign/* $h:/etc/opkg/keys ssh $h wrt-init ${HOME_DOMAIN:-b8.nz} "$@" diff --git a/wrt-setup-local b/wrt-setup-local index a5fd911..aabfca3 100755 --- a/wrt-setup-local +++ b/wrt-setup-local @@ -684,20 +684,6 @@ config rule option target ACCEPT option dest_port 9091 - -config redirect - option name nagioskd - option src wan - option src_dport 3005 - option dest_port 3005 - option dest_ip $l.2 - option dest lan -config rule - option src wan - option target ACCEPT - option dest_port 3005 - - config redirect option name sshkd option src wan @@ -761,24 +747,12 @@ config rule option target ACCEPT option dest_port 2207 -config redirect - option name sshtp - option src wan - option src_dport 2208 - option dest_port 22 - option dest_ip $l.8 - option dest lan -config rule - option src wan - option target ACCEPT - option dest_port 2208 - config redirect option name sshbb8 option src wan option src_dport 2209 option dest_port 22 - option dest_ip $l.9 + option dest_ip $l.32 option dest lan config rule option src wan @@ -796,7 +770,7 @@ config redirect config rule option src wan option target ACCEPT - option dest_port 2228 + option dest_port 2234 config redirect @@ -1113,32 +1087,13 @@ EOF # https dns will need to be blocked by ip in # order to be comprehensive + cedit /etc/unbound/unbound_ext.conf <