mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
more network
This commit is contained in:
2 files changed
+11
-7
No files matched your search
@@ -1,13 +1,14 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.nixosModules.net-dpi-evasion =
|
||||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
environment.etc."zapret/exclude.txt".text = ''
|
||||
turkiye.gov.tr
|
||||
sahibinden.com
|
||||
gov.tr
|
||||
edevlet.gov.tr
|
||||
sahibinden.com
|
||||
shbdn.com
|
||||
'';
|
||||
|
||||
services.zapret = {
|
||||
@@ -34,6 +35,10 @@
|
||||
];
|
||||
};
|
||||
|
||||
systemd.services.zapret.restartTriggers = [
|
||||
config.environment.etc."zapret/exclude.txt".source
|
||||
];
|
||||
|
||||
networking.enableIPv6 = true;
|
||||
networking.firewall.extraCommands = ''
|
||||
iptables -I OUTPUT -p tcp -m multiport --dports 80,443 -m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes 1:9 -j NFQUEUE --queue-num 200 --queue-bypass
|
||||
|
||||
Reference in new issue
Block a user