From d9239cdd128139de502e1a81442a130c6bd5b3da Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 2 Sep 2026 21:51:59 +0200 Subject: [PATCH] remove ipv6 in wg-vpn Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- hosts/laptop/wireguard.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hosts/laptop/wireguard.nix b/hosts/laptop/wireguard.nix index 5299e618..d7540ed8 100644 --- a/hosts/laptop/wireguard.nix +++ b/hosts/laptop/wireguard.nix @@ -53,7 +53,7 @@ in { [wireguard-peer.36G8+pInNcPK9F1TpHglWs9Pk5uJOY9o8SCNrCBgvHE=] endpoint=89.222.96.158:51820 - allowed-ips=0.0.0.0/0;::/0; + allowed-ips=0.0.0.0/0; persistent-keepalive=25 [ipv4] @@ -63,10 +63,8 @@ in { [ipv6] method=manual - address1=2a07:b944::2:2/128 - dns=2a07:b944::2:1; - addr-gen-mode=default - ip6-privacy=0 + route1=::/0,,1 + route1_options=type=blackhole ''; }; };