{"id":428144,"date":"2024-08-03T15:00:10","date_gmt":"2024-08-03T15:00:10","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=428144"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=428144","title":{"rendered":"<span>\u041e\u0431\u0445\u043e\u0434 \u0437\u0430\u043c\u0435\u0434\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f Android TV<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0425\u0430\u0431\u0440!<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0439\u0442\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 Youtube \u043d\u0430 Android TV. \u041d\u0430\u0439\u0442\u0438 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 &#171;\u043e\u0434\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439&#187; \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c (<a href=\"https:\/\/4pda.to\/forum\/index.php?showtopic=1092092\" rel=\"noopener noreferrer nofollow\"><strong>ByeDPI<\/strong><\/a> \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b) \u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441 OpenWrt \u0443 \u043c\u0435\u043d\u044f \u043d\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0439\u0434\u0435\u043c \u043f\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438!<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ebf\/8b1\/4db\/ebf8b14db8110c03c766332719ae31b5.png\" width=\"1024\" height=\"576\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ebf\/8b1\/4db\/ebf8b14db8110c03c766332719ae31b5.png\"\/><\/figure>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f <em>\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f<\/em> Linux \u043c\u0430\u0448\u0438\u043d\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <a href=\"https:\/\/github.com\/bol-van\/zapret\" rel=\"noopener noreferrer nofollow\">Zapret<\/a>. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e Mini PC \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c Proxmox (\u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443 \u043c\u0435\u043d\u044f \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c HomeAssistant).<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Linux \u0445\u043e\u0441\u0442, \u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0439\u0442\u0438  \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 Zapret<\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0434\u043b\u044f Zapret \u043d\u0430 Proxmox<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9d3\/1dd\/999\/9d31dd99970bdd9cfef1feb5b60f18ea.png\" width=\"1255\" height=\"239\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9d3\/1dd\/999\/9d31dd99970bdd9cfef1feb5b60f18ea.png\"\/><\/figure>\n<p>\u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Proxmox \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0445\u043e\u0441\u0442\u044b <code>pveam available<\/code> \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437 \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u043e\u0433\u043e Debian <code>pveam download local debian-11-standard_11.7-1_amd64.tar.zst<\/code><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c LXC Container: \u044f \u0432\u044b\u0434\u0435\u043b\u0438\u043b <strong><em>1 \u044f\u0434\u0440\u043e, 1\u0413\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u043f\u043e\u0442\u043e\u043c \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b \u0434\u043e 512), 8\u0413\u0431 \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f<\/em><\/strong>.<\/p>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u043e\u0431\u0440\u0430\u0437\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0441\u0435\u0442\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c DHCP<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u0448\u0438\u043d\u044b<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/428\/67e\/14f\/42867e14fb022863db3e22c6f7b30be8.png\" width=\"709\" height=\"528\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/428\/67e\/14f\/42867e14fb022863db3e22c6f7b30be8.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/74a\/1ca\/ecc\/74a1caecc62d73608d690ff5c115f5c8.png\" alt=\"\u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u043e\u0431\u0440\u0430\u0437 Debian\" title=\"\u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u043e\u0431\u0440\u0430\u0437 Debian\" width=\"714\" height=\"530\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/74a\/1ca\/ecc\/74a1caecc62d73608d690ff5c115f5c8.png\"\/><\/p>\n<div><figcaption>\u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u043e\u0431\u0440\u0430\u0437 Debian<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dac\/765\/167\/dac7651675747b711e7d8cf060050c3f.png\" alt=\" \" title=\" \" width=\"711\" height=\"533\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dac\/765\/167\/dac7651675747b711e7d8cf060050c3f.png\"\/><\/p>\n<div><figcaption> <\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a86\/975\/bc1\/a86975bc16a0c59bad9360e694f96e33.png\" width=\"713\" height=\"533\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a86\/975\/bc1\/a86975bc16a0c59bad9360e694f96e33.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6a7\/b0d\/589\/6a7b0d589f0a15594297b8797e9f649d.png\" alt=\"\u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 DHCP\" title=\"\u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 DHCP\" width=\"708\" height=\"534\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6a7\/b0d\/589\/6a7b0d589f0a15594297b8797e9f649d.png\"\/><\/p>\n<div><figcaption>\u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 DHCP<\/figcaption><\/div>\n<\/figure>\n<\/div>\n<\/details>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Zapret \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h2>\n<p>\u041f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c <a href=\"https:\/\/github.com\/bol-van\/zapret\/blob\/master\/docs\/quick_start.txt\" rel=\"noopener noreferrer nofollow\">\u044d\u0442\u043e\u0439 <\/a>\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c zapret.<\/p>\n<p><code>cd \/tmp<\/code><\/p>\n<p><code>git clone --depth 1 https:\/\/github.com\/bol-van\/zapret<\/code><\/p>\n<p><code>install_bin.sh<\/code><\/p>\n<p><code>install_prereq.sh<\/code><\/p>\n<p>\u042f \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 <em>iptables<\/em><\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0446\u0435\u043b\u044c\u044e \u0431\u044b\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u043e\u0439\u0442\u0438 \u0437\u0430\u043c\u0435\u0434\u043b\u0435\u043d\u0438\u0435 Youtube, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u043c 6 \u043f\u0443\u043d\u043a\u0442 \u0438\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 (\u0437\u0430\u043f\u0443\u0441\u043a blockcheck.sh).<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>install_easy.sh<\/code>, \u044f \u0432\u044b\u0431\u0438\u0440\u0430\u043b \u0440\u0435\u0436\u0438\u043c <strong><em>nfqws<\/em><\/strong>, \u0432 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<p>\u041e\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0442\u0443\u0442 <code>\/opt\/zapret\/config<\/code>, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 <a href=\"https:\/\/github.com\/bol-van\/zapret\/discussions\/200\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043e\u0431\u0445\u043e\u0434\u0430 \u0437\u0430\u043c\u0435\u0434\u043b\u0435\u043d\u0438\u044f<\/a>.<\/p>\n<p>\u0412\u0430\u0436\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c <code>MODE_FILTER=hostlist<\/code> \u0438 \u0432 \u0444\u0430\u0439\u043b <code>\/opt\/zapret\/ipset\/zapret-hosts-user.txt<\/code> \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <code>googlevideo.com<\/code><\/p>\n<details class=\"spoiler\">\n<summary>\u041c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 (\u043d\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0435\u0433\u043e \u043a \u0441\u0435\u0431\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430)<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\"># can help in case \/tmp has not enough space #TMPDIR=\/opt\/zapret\/tmp  # redefine user for zapret daemons. required on Keenetic #WS_USER=nobody  # override firewall type : iptables,nftables,ipfw FWTYPE=iptables  # options for ipsets # maximum number of elements in sets. also used for nft sets SET_MAXELEM=522288 # too low hashsize can cause memory allocation errors on low RAM systems , even if RAM is enough # too large hashsize will waste lots of RAM IPSET_OPT=\"hashsize 262144 maxelem $SET_MAXELEM\" # dynamically generate additional ip. $1 = ipset\/nfset\/table name #IPSET_HOOK=\"\/etc\/zapret.ipset.hook\"  # options for ip2net. \"-4\" or \"-6\" auto added by ipset create script IP2NET_OPT4=\"--prefix-length=22-30 --v4-threshold=3\/4\" IP2NET_OPT6=\"--prefix-length=56-64 --v6-threshold=5\" # options for auto hostlist AUTOHOSTLIST_RETRANS_THRESHOLD=3 AUTOHOSTLIST_FAIL_THRESHOLD=3 AUTOHOSTLIST_FAIL_TIME=60 # 1 = debug autohostlist positives to ipset\/zapret-hosts-auto-debug.log AUTOHOSTLIST_DEBUGLOG=0  # number of parallel threads for domain list resolves MDIG_THREADS=30  # ipset\/*.sh can compress large lists GZIP_LISTS=1 MODE=nfqws # apply fooling to http MODE_HTTP=0 # for nfqws only. support http keep alives. enable only if DPI checks for http request in any outgoing packet MODE_HTTP_KEEPALIVE=0 # apply fooling to https MODE_HTTPS=1 # apply fooling to quic MODE_QUIC=1 # none,ipset,hostlist,autohostlist MODE_FILTER=hostlist  # CHOOSE NFQWS DAEMON OPTIONS for DPI desync mode. run \"nfq\/nfqws --help\" for option list DESYNC_MARK=0x40000000 DESYNC_MARK_POSTNAT=0x20000000 #NFQWS_OPT_DESYNC=\"--dpi-desync=fake --dpi-desync-ttl=0 --dpi-desync-fooling=md5sig\" NFQWS_OPT_DESYNC=\"--dpi-desync=split2\" #NFQWS_OPT_DESYNC_HTTP= #NFQWS_OPT_DESYNC_HTTPS=\"--dpi-desync=fake --dpi-desync-ttl=0 --dpi-desync-fooling=badsum\" #NFQWS_OPT_DESYNC_HTTP6= #NFQWS_OPT_DESYNC_HTTPS6= #NFQWS_OPT_DESYNC_QUIC=\"--dpi-desync=fake --dpi-desync-repeats=6\" #NFQWS_OPT_DESYNC_QUIC6= NFQWS_OPT_DESYNC_QUIC=\"--dpi-desync=fake --dpi-desync-repeats=6\"  # CHOOSE TPWS DAEMON OPTIONS. run \"tpws\/tpws --help\" for option list TPWS_OPT=\"--hostspell=HOST --split-http-req=method --split-pos=3 --oob\"  # openwrt only : donttouch,none,software,hardware FLOWOFFLOAD=donttouch  # openwrt: specify networks to be treated as LAN. default is \"lan\" #OPENWRT_LAN=\"lan lan2 lan3\" # openwrt: specify networks to be treated as WAN. default wans are interfaces with default route #OPENWRT_WAN4=\"wan vpn\" #OPENWRT_WAN6=\"wan6 vpn6\"  # for routers based on desktop linux and macos. has no effect in openwrt. # CHOOSE LAN and optinally WAN\/WAN6 NETWORK INTERFACES # or leave them commented if its not router # it's possible to specify multiple interfaces like this : IFACE_LAN=\"eth0 eth1 eth2\" # if IFACE_WAN6 is not defined it take the value of IFACE_WAN #IFACE_LAN=eth0 #IFACE_WAN= #IFACE_WAN6=\"ipsec0 wireguard0 he_net\"  # should start\/stop command of init scripts apply firewall rules ? # not applicable to openwrt with firewall3+iptables INIT_APPLY_FW=1 # firewall apply hooks #INIT_FW_PRE_UP_HOOK=\"\/etc\/firewall.zapret.hook.pre_up\" #INIT_FW_POST_UP_HOOK=\"\/etc\/firewall.zapret.hook.post_up\" #INIT_FW_PRE_DOWN_HOOK=\"\/etc\/firewall.zapret.hook.pre_down\" #INIT_FW_POST_DOWN_HOOK=\"\/etc\/firewall.zapret.hook.post_down\"  # do not work with ipv4 #DISABLE_IPV4=1 # do not work with ipv6 DISABLE_IPV6=1  # select which init script will be used to get ip or host list # possible values : get_user.sh get_antizapret.sh get_combined.sh get_reestr.sh get_hostlist.sh # comment if not required #GETLIST=<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441 <code>systemctl restart zapret<\/code><\/p>\n<p>\u0410\u0432\u0442\u043e\u0440 zapret \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 <a href=\"https:\/\/github.com\/bol-van\/zapret\/discussions\/200\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a> \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<p><code>curl  -v4s -o\/dev\/null -k --connect-to ::google.com -k -H Host:\\ metsalehti-staging-s4uzwwd6nq-lz.a.run.app https:\/\/test.googlevideo.com\/app\/uploads\/2021\/11\/2022-mediakortti.pdf -w %{speed_download} <\/code><\/p>\n<p>\u041d\u043e \u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u043e (\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c) <strong><em>0<\/em><\/strong>. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u043d\u0430\u0447\u0430\u043b \u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0438 \u043f\u043e\u0442\u0435\u0440\u044f\u043b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443.<\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u043e\u043a\u0441\u0438 \u0434\u043b\u044f Android <\/h2>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u043d\u044f\u0442\u044c <strong><em>squid<\/em><\/strong>, \u0437\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0435\u0434, \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043e\u0448\u0438\u0431\u043a\u043e\u0439; \u0443 Android \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 proxy \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 WIFI, \u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Youtube \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u043e\u043a\u0441\u0438, \u043f\u0440\u0438 \u0442\u043e\u043c \u0447\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0445\u043e\u0434\u044f\u0442 \u0432 \u0441\u0435\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u043a\u0441\u0438.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/acc\/bff\/efa\/accbffefa1d0b4a42580ad30e9d56314.png\" alt=\"\u0414\u043b\u044f Youtube \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\" title=\"\u0414\u043b\u044f Youtube \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\" width=\"650\" height=\"363\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/acc\/bff\/efa\/accbffefa1d0b4a42580ad30e9d56314.png\"\/><\/p>\n<div><figcaption>\u0414\u043b\u044f Youtube \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/figcaption><\/div>\n<\/figure>\n<p>\u0427\u0442\u043e\u0431\u044b \u044f \u043d\u0435 \u0434\u0435\u043b\u0430\u043b, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0432\u044b\u0448\u0430\u043b\u043e\u0441\u044c, \u0430 \u0432 \u043b\u043e\u0433\u0430\u0445 <strong>squid<\/strong> \u044f \u043d\u0435 \u0432\u0438\u0434\u0435\u043b \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a youtube, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0443\u0442\u0435\u043c, \u043f\u043e\u0434\u043d\u044f\u0442\u044c socks5 \u043f\u0440\u043e\u043a\u0441\u0438 \u043a\u0430\u043a VPN \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b <a href=\"https:\/\/www.inet.no\/dante\/\" rel=\"noopener noreferrer nofollow\">Dante<\/a>.<\/p>\n<p><code>apt install dante-server<\/code>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440, \u0438\u0434\u0435\u043c \/etc\/danted.conf (\u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f <strong>\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0435\u0442\u0438)<\/strong>.<\/p>\n<pre><code class=\"bash\">internal: eth0 port = 1080 external: eth0 clientmethod: none #\u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 method: none #\u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 user.privileged: proxy user.unprivileged: nobody user.libwrap: nobody client pass {     from: 0.0.0.0\/0 to: 0.0.0.0\/0 }  socks pass {     from: 0.0.0.0\/0 to: 0.0.0.0\/0 }<\/code><\/pre>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>systemctl restart danted<\/code><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a  <code>systemctl enable danted<\/code>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e, \u0442\u043e \u0447\u0438\u0442\u0430\u0435\u043c <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-dante-proxy-on-ubuntu-20-04\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 socks \u043f\u0440\u043e\u043a\u0441\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a <\/p>\n<p><code>curl --proxy 'socks5h:\/\/IP_PROXY:1080' 'https:\/\/api.ipify.org\/'<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u043d\u0430 Debian \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0438\u0441 <strong>zapret<\/strong> \u0438 <strong>sock5<\/strong> \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 1080 \u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/00e\/465\/194\/00e4651944ccddf227539bbcc71e0f81.png\" width=\"3840\" height=\"2160\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/00e\/465\/194\/00e4651944ccddf227539bbcc71e0f81.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2dc\/a92\/216\/2dca92216dad6ad15907b24d9c35674b.png\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2dc\/a92\/216\/2dca92216dad6ad15907b24d9c35674b.png\"\/><\/figure>\n<p>\u041e\u0441\u0442\u0430\u043b\u0441\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u0433, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u043a\u0441\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 \u0430\u043d\u0434\u0440\u043e\u0438\u0434, \u0432\u044b\u0431\u0440\u0430\u043b <a href=\"https:\/\/github.com\/bndeff\/socksdroid\/releases\/tag\/1.0.4\" rel=\"noopener noreferrer nofollow\"><strong>SocksDroid<\/strong><\/a> \u0432 \u043d\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c IP \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u0440\u0442 \u0438 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u043a\u0441\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 (\u0442\u043e\u043b\u044c\u043a\u043e Youtube) &#8212; com.google.android.youtube.<\/p>\n<details class=\"spoiler\">\n<summary>\u041d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435 Youtube<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e4a\/e84\/efa\/e4ae84efae4426c19b078095422cbb58.png\" width=\"2075\" height=\"631\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e4a\/e84\/efa\/e4ae84efae4426c19b078095422cbb58.png\"\/><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/833508\/\"> https:\/\/habr.com\/ru\/articles\/833508\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0425\u0430\u0431\u0440!<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u043e\u0431\u043e\u0439\u0442\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 Youtube \u043d\u0430 Android TV. \u041d\u0430\u0439\u0442\u0438 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 &#171;\u043e\u0434\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439&#187; \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c (<a href=\"https:\/\/4pda.to\/forum\/index.php?showtopic=1092092\" rel=\"noopener noreferrer nofollow\"><strong>ByeDPI<\/strong><\/a> \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b) \u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441 OpenWrt \u0443 \u043c\u0435\u043d\u044f \u043d\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0439\u0434\u0435\u043c \u043f\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438!<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f <em>\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f<\/em> Linux \u043c\u0430\u0448\u0438\u043d\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <a href=\"https:\/\/github.com\/bol-van\/zapret\" rel=\"noopener noreferrer nofollow\">Zapret<\/a>. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e Mini PC \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c Proxmox (\u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443 \u043c\u0435\u043d\u044f \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c HomeAssistant).<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c Linux \u0445\u043e\u0441\u0442, \u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0439\u0442\u0438  \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 Zapret<\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0434\u043b\u044f Zapret \u043d\u0430 Proxmox<\/h2>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Proxmox \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0445\u043e\u0441\u0442\u044b <code>pveam available<\/code> \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437 \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u043e\u0433\u043e Debian <code>pveam download local debian-11-standard_11.7-1_amd64.tar.zst<\/code><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c LXC Container: \u044f \u0432\u044b\u0434\u0435\u043b\u0438\u043b <strong><em>1 \u044f\u0434\u0440\u043e, 1\u0413\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u043f\u043e\u0442\u043e\u043c \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b \u0434\u043e 512), 8\u0413\u0431 \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f<\/em><\/strong>.<\/p>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u043e\u0431\u0440\u0430\u0437\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0441\u0435\u0442\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c DHCP<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u0448\u0438\u043d\u044b<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u043e\u0431\u0440\u0430\u0437 Debian<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption> <\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 DHCP<\/figcaption><\/div>\n<\/figure>\n<\/div>\n<\/details>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Zapret \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h2>\n<p>\u041f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c <a href=\"https:\/\/github.com\/bol-van\/zapret\/blob\/master\/docs\/quick_start.txt\" rel=\"noopener noreferrer nofollow\">\u044d\u0442\u043e\u0439 <\/a>\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c zapret.<\/p>\n<p><code>cd \/tmp<\/code><\/p>\n<p><code>git clone --depth 1 https:\/\/github.com\/bol-van\/zapret<\/code><\/p>\n<p><code>install_bin.sh<\/code><\/p>\n<p><code>install_prereq.sh<\/code><\/p>\n<p>\u042f \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 <em>iptables<\/em><\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0446\u0435\u043b\u044c\u044e \u0431\u044b\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u043e\u0439\u0442\u0438 \u0437\u0430\u043c\u0435\u0434\u043b\u0435\u043d\u0438\u0435 Youtube, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u043c 6 \u043f\u0443\u043d\u043a\u0442 \u0438\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 (\u0437\u0430\u043f\u0443\u0441\u043a blockcheck.sh).<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>install_easy.sh<\/code>, \u044f \u0432\u044b\u0431\u0438\u0440\u0430\u043b \u0440\u0435\u0436\u0438\u043c <strong><em>nfqws<\/em><\/strong>, \u0432 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<p>\u041e\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0442\u0443\u0442 <code>\/opt\/zapret\/config<\/code>, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 <a href=\"https:\/\/github.com\/bol-van\/zapret\/discussions\/200\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043e\u0431\u0445\u043e\u0434\u0430 \u0437\u0430\u043c\u0435\u0434\u043b\u0435\u043d\u0438\u044f<\/a>.<\/p>\n<p>\u0412\u0430\u0436\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c <code>MODE_FILTER=hostlist<\/code> \u0438 \u0432 \u0444\u0430\u0439\u043b <code>\/opt\/zapret\/ipset\/zapret-hosts-user.txt<\/code> \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <code>googlevideo.com<\/code><\/p>\n<details class=\"spoiler\">\n<summary>\u041c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 (\u043d\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0435\u0433\u043e \u043a \u0441\u0435\u0431\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430)<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\"># can help in case \/tmp has not enough space #TMPDIR=\/opt\/zapret\/tmp  # redefine user for zapret daemons. required on Keenetic #WS_USER=nobody  # override firewall type : iptables,nftables,ipfw FWTYPE=iptables  # options for ipsets # maximum number of elements in sets. also used for nft sets SET_MAXELEM=522288 # too low hashsize can cause memory allocation errors on low RAM systems , even if RAM is enough # too large hashsize will waste lots of RAM IPSET_OPT=\"hashsize 262144 maxelem $SET_MAXELEM\" # dynamically generate additional ip. $1 = ipset\/nfset\/table name #IPSET_HOOK=\"\/etc\/zapret.ipset.hook\"  # options for ip2net. \"-4\" or \"-6\" auto added by ipset create script IP2NET_OPT4=\"--prefix-length=22-30 --v4-threshold=3\/4\" IP2NET_OPT6=\"--prefix-length=56-64 --v6-threshold=5\" # options for auto hostlist AUTOHOSTLIST_RETRANS_THRESHOLD=3 AUTOHOSTLIST_FAIL_THRESHOLD=3 AUTOHOSTLIST_FAIL_TIME=60 # 1 = debug autohostlist positives to ipset\/zapret-hosts-auto-debug.log AUTOHOSTLIST_DEBUGLOG=0  # number of parallel threads for domain list resolves MDIG_THREADS=30  # ipset\/*.sh can compress large lists GZIP_LISTS=1 MODE=nfqws # apply fooling to http MODE_HTTP=0 # for nfqws only. support http keep alives. enable only if DPI checks for http request in any outgoing packet MODE_HTTP_KEEPALIVE=0 # apply fooling to https MODE_HTTPS=1 # apply fooling to quic MODE_QUIC=1 # none,ipset,hostlist,autohostlist MODE_FILTER=hostlist  # CHOOSE NFQWS DAEMON OPTIONS for DPI desync mode. run \"nfq\/nfqws --help\" for option list DESYNC_MARK=0x40000000 DESYNC_MARK_POSTNAT=0x20000000 #NFQWS_OPT_DESYNC=\"--dpi-desync=fake --dpi-desync-ttl=0 --dpi-desync-fooling=md5sig\" NFQWS_OPT_DESYNC=\"--dpi-desync=split2\" #NFQWS_OPT_DESYNC_HTTP= #NFQWS_OPT_DESYNC_HTTPS=\"--dpi-desync=fake --dpi-desync-ttl=0 --dpi-desync-fooling=badsum\" #NFQWS_OPT_DESYNC_HTTP6= #NFQWS_OPT_DESYNC_HTTPS6= #NFQWS_OPT_DESYNC_QUIC=\"--dpi-desync=fake --dpi-desync-repeats=6\" #NFQWS_OPT_DESYNC_QUIC6= NFQWS_OPT_DESYNC_QUIC=\"--dpi-desync=fake --dpi-desync-repeats=6\"  # CHOOSE TPWS DAEMON OPTIONS. run \"tpws\/tpws --help\" for option list TPWS_OPT=\"--hostspell=HOST --split-http-req=method --split-pos=3 --oob\"  # openwrt only : donttouch,none,software,hardware FLOWOFFLOAD=donttouch  # openwrt: specify networks to be treated as LAN. default is \"lan\" #OPENWRT_LAN=\"lan lan2 lan3\" # openwrt: specify networks to be treated as WAN. default wans are interfaces with default route #OPENWRT_WAN4=\"wan vpn\" #OPENWRT_WAN6=\"wan6 vpn6\"  # for routers based on desktop linux and macos. has no effect in openwrt. # CHOOSE LAN and optinally WAN\/WAN6 NETWORK INTERFACES # or leave them commented if its not router # it's possible to specify multiple interfaces like this : IFACE_LAN=\"eth0 eth1 eth2\" # if IFACE_WAN6 is not defined it take the value of IFACE_WAN #IFACE_LAN=eth0 #IFACE_WAN= #IFACE_WAN6=\"ipsec0 wireguard0 he_net\"  # should start\/stop command of init scripts apply firewall rules ? # not applicable to openwrt with firewall3+iptables INIT_APPLY_FW=1 # firewall apply hooks #INIT_FW_PRE_UP_HOOK=\"\/etc\/firewall.zapret.hook.pre_up\" #INIT_FW_POST_UP_HOOK=\"\/etc\/firewall.zapret.hook.post_up\" #INIT_FW_PRE_DOWN_HOOK=\"\/etc\/firewall.zapret.hook.pre_down\" #INIT_FW_POST_DOWN_HOOK=\"\/etc\/firewall.zapret.hook.post_down\"  # do not work with ipv4 #DISABLE_IPV4=1 # do not work with ipv6 DISABLE_IPV6=1  # select which init script will be used to get ip or host list # possible values : get_user.sh get_antizapret.sh get_combined.sh get_reestr.sh get_hostlist.sh # comment if not required #GETLIST=<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441 <code>systemctl restart zapret<\/code><\/p>\n<p>\u0410\u0432\u0442\u043e\u0440 zapret \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 <a href=\"https:\/\/github.com\/bol-van\/zapret\/discussions\/200\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a> \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<p><code>curl  -v4s -o\/dev\/null -k --connect-to ::google.com -k -H Host:\\ metsalehti-staging-s4uzwwd6nq-lz.a.run.app https:\/\/test.googlevideo.com\/app\/uploads\/2021\/11\/2022-mediakortti.pdf -w %{speed_download} <\/code><\/p>\n<p>\u041d\u043e \u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u043e (\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c) <strong><em>0<\/em><\/strong>. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u043d\u0430\u0447\u0430\u043b \u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0438 \u043f\u043e\u0442\u0435\u0440\u044f\u043b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443.<\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u043e\u043a\u0441\u0438 \u0434\u043b\u044f Android <\/h2>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u043d\u044f\u0442\u044c <strong><em>squid<\/em><\/strong>, \u0437\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0435\u0434, \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043e\u0448\u0438\u0431\u043a\u043e\u0439; \u0443 Android \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 proxy \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 WIFI, \u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Youtube \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u043e\u043a\u0441\u0438, \u043f\u0440\u0438 \u0442\u043e\u043c \u0447\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0445\u043e\u0434\u044f\u0442 \u0432 \u0441\u0435\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u043a\u0441\u0438.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0414\u043b\u044f Youtube \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/figcaption><\/div>\n<\/figure>\n<p>\u0427\u0442\u043e\u0431\u044b \u044f \u043d\u0435 \u0434\u0435\u043b\u0430\u043b, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0432\u044b\u0448\u0430\u043b\u043e\u0441\u044c, \u0430 \u0432 \u043b\u043e\u0433\u0430\u0445 <strong>squid<\/strong> \u044f \u043d\u0435 \u0432\u0438\u0434\u0435\u043b \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a youtube, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0443\u0442\u0435\u043c, \u043f\u043e\u0434\u043d\u044f\u0442\u044c socks5 \u043f\u0440\u043e\u043a\u0441\u0438 \u043a\u0430\u043a VPN \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b <a href=\"https:\/\/www.inet.no\/dante\/\" rel=\"noopener noreferrer nofollow\">Dante<\/a>.<\/p>\n<p><code>apt install dante-server<\/code>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440, \u0438\u0434\u0435\u043c \/etc\/danted.conf (\u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f <strong>\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0435\u0442\u0438)<\/strong>.<\/p>\n<pre><code class=\"bash\">internal: eth0 port = 1080 external: eth0 clientmethod: none #\u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 method: none #\u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 user.privileged: proxy user.unprivileged: nobody user.libwrap: nobody client pass {     from: 0.0.0.0\/0 to: 0.0.0.0\/0 }  socks pass {     from: 0.0.0.0\/0 to: 0.0.0.0\/0 }<\/code><\/pre>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>systemctl restart danted<\/code><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a  <code>systemctl enable danted<\/code>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e, \u0442\u043e \u0447\u0438\u0442\u0430\u0435\u043c <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-dante-proxy-on-ubuntu-20-04\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 socks \u043f\u0440\u043e\u043a\u0441\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a <\/p>\n<p><code>curl --proxy 'socks5h:\/\/IP_PROXY:1080' 'https:\/\/api.ipify.org\/'<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u043d\u0430 Debian \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0438\u0441 <strong>zapret<\/strong> \u0438 <strong>sock5<\/strong> \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 1080 \u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<p>\u041e\u0441\u0442\u0430\u043b\u0441\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u0433, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u043a\u0441\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430 \u0430\u043d\u0434\u0440\u043e\u0438\u0434, \u0432\u044b\u0431\u0440\u0430\u043b <a href=\"https:\/\/github.com\/bndeff\/socksdroid\/releases\/tag\/1.0.4\" rel=\"noopener noreferrer nofollow\"><strong>SocksDroid<\/strong><\/a> \u0432 \u043d\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c IP \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u0440\u0442 \u0438 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u043a\u0441\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 (\u0442\u043e\u043b\u044c\u043a\u043e Youtube) &#8212; com.google.android.youtube.<\/p>\n<details class=\"spoiler\">\n<summary>\u041d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435 Youtube<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/833508\/\"> https:\/\/habr.com\/ru\/articles\/833508\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-428144","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/428144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=428144"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/428144\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=428144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=428144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=428144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}