From 64bf86ec3399741800036f5dd08bd41e9c120afc Mon Sep 17 00:00:00 2001 From: mercury Date: Thu, 20 Jul 2023 22:53:38 +0400 Subject: [PATCH] fix missing interface --- scripts/block_exchange.sh | 2 +- scripts/unblock_exchange.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/block_exchange.sh b/scripts/block_exchange.sh index 2bb13af..28052d9 100644 --- a/scripts/block_exchange.sh +++ b/scripts/block_exchange.sh @@ -1 +1 @@ -iptables -I FORWARD -i %i -o %i -j REJECT +iptables -I FORWARD -i wg0 -o wg0 -j REJECT diff --git a/scripts/unblock_exchange.sh b/scripts/unblock_exchange.sh index 7e3cf27..5fd51ba 100644 --- a/scripts/unblock_exchange.sh +++ b/scripts/unblock_exchange.sh @@ -1 +1 @@ -iptables -D FORWARD -i %i -o %i -j REJECT +iptables -D FORWARD -i wg0 -o wg0 -j REJECT