必要なものと予備的なアクション
USBポートを備えたZyXELKeenetic、4GII / IIIモデルを除く-ワンピース
USBフラッシュ-ワンピース
フラッシュドライブは何でもかまいません。私の場合、これは偽のキングストンで、8GBのうち実際には256MBしか見つかりませんでした
ダッシュボードでファームウェアのバージョンを確認します。Entwareをインストールするには、NDMSファームウェアv2.07(2.08)以降が必要です。このような場合は、手順2に進んでください。Entwareのインストール
ファームウェア2.05を使用したプロトタイプのZyxelKeeneticDSL。ファームウェアのアップグレードがなければ、Entwareのインストール、それには、途中でメッセージを表示して終了しますOpkg::Manager: /opt/etc/init.d/doinstall: FATAL: kernel too old.
したがって、
レガシーチャネルからファームウェアをバージョン2.11に更新します
ルーターに接続し
telnet your_router_ip
、管理者ユーザーのユーザー名/パスワードを入力します
チャネルをレガシーに
切り替えます:components sync legacy
-2.06までの
components list legacy
ファームウェアの場合-2.06以降のファームウェアの場合
Webインターフェイスで、[システム]-> [更新]に 移動し、[デバッグバージョン]の値が[使用]
フィールドに表示されていることを確認します。「更新」ボタンを押して待ちます。
. .
NDMS version: 2.11.D.9.0-1 - , .
Entware
Keenetic DSL, LTE, VOX, DSL (KN-2010), DUO (KN-2110) ( http://bin.entware.net/mipssf-k3.4/installer/mips-installer.tar.gz)
- Keenetic - mipsel-installer.tar.gz
. FAT32. (, ). .
System->Update FTP OPKG. -
FTP, Applications->FTP, FTP , ( , , FTP)
FTP ( - 2.4), (c 2.2)
install
2.1 install
Applications->OPKG, "Enable", "Use external storage" , "Apply"
System->Log,
"installer[5/5] "Entware" ! !"
22 222 root keenetic
;)
-/opt/etc/config/dropbear.conf
-passwd
FTP - .
, , :)
DNSCrypt2
DNS ( - DNS. , )
https://dnsleaktest.com/
https://browserleaks.com/dns
https://whatleaks.com/
Entware SSH
DNSCrypt2
opkg update
opkg install dnscrypt-proxy2
opkg install ca-certificates cron iptables
/opt/etc/dnscrypt-proxy.toml
listen_addresses = ['127.0.0.1:53']
:
listen_addresses = ['0.0.0.0:53']
DNSCrypt2
/opt/etc/init.d/S09dnscrypt-proxy2 start
DNS
! telnet ( Entware SSH) - 1.1
opkg dns-override
system configuration save
Home Network -> Segments
Wifi , DHCP server:
DNS 1 IP
DNS 2
Internet -> Connections :
DNS 1 IP
DNS 2 3
Internet -> Extra , DNS servers IP . - .
( WiFi ) , DNS-
( ). . , 53 .
Entware ssh
/opt/etc/ndm/netfilter.d/10-ClientDNS-Redirect.sh
! 10.1.1.1 IP
#!/bin/sh
[ "$type" == "ip6tables" ] && exit 0
[ "$table" != "nat" ] && exit 0
[ -z "$(iptables -nvL -t nat | grep "to:10.1.1.1:53")" ] && iptables -t nat -I PREROUTING -p udp --dport 53 -j DNAT --to-destination 10.1.1.1:53
exit 0
, , :
! 10.1.1.1 IP
echo -e '#!/bin/sh\n[ "$type" == "ip6tables" ] && exit 0\n[ "$table" != "nat" ] && exit 0\n[ -z "$(iptables -nvL -t nat | grep "to:10.1.1.1:53")" ] && iptables -t nat -I PREROUTING -p udp --dport 53 -j DNAT --to-destination 10.1.1.1:53\nexit 0' >> /opt/etc/ndm/netfilter.d/10-ClientDNS-Redirect.sh
10-ClientDNS-Redirect.sh :
chmod +x /opt/etc/ndm/netfilter.d/10-ClientDNS-Redirect.sh
( https://browserleaks.com/dns DNS )
.
DNS , .
https://forum.keenetic.net/announcement/5- where-
to- get- test- builds / https://help.keenetic.com/hc/ru/articles/115002060049 https://forum.keenetic.net / topic / 4299-entware /?Do = findComment&comment = 50640
https://forum.keenetic.net/topic/4755-protect-dns-requests-with-dnscrypt-proxy2-bonus-block-advertising/