Dpi: Add ipv6 support.

This commit is contained in:
Dmitry Voronin 2024-11-30 23:07:04 +03:00
parent 7ecb3d061e
commit 382d8dd58f
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,12 @@ in {
inherit (cfg.bypass) params; inherit (cfg.bypass) params;
enable = true; enable = true;
package = pkgsMaster.zapret; package = pkgsMaster.zapret;
httpMode = "full";
httpSupport = true;
udpSupport = true;
udpPorts = [
"50000:50099"
];
whitelist = [ whitelist = [
"youtube.com" "youtube.com"
"googlevideo.com" "googlevideo.com"

View file

@ -17,8 +17,14 @@
enable = true; enable = true;
params = [ params = [
"--dpi-desync=fake,disorder2" "--dpi-desync=fake,disorder2"
"--dpi-desync-ttl=1" "--dpi-desync-ttl=1"
"--dpi-desync-autottl=2" "--dpi-desync-autottl=2"
"--dpi-desync-ttl6=1"
"--dpi-desync-autottl6=2"
"--dpi-desync-any-protocol"
]; ];
}; };
amd = { amd = {