From f09a3b977027a7e653a692187b8938af86c94c83 Mon Sep 17 00:00:00 2001 From: pexcn Date: Thu, 15 Dec 2022 11:34:04 +0800 Subject: [PATCH] merge changes of my version --- docker/docker-compose.yml | 4 ++-- docker/phantun.sh | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 1b8b0a7..0399e91 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -9,7 +9,7 @@ services: privileged: true environment: TZ: Asia/Taipei - USE_IPTABLES_NFT_BACKEND: 1 + USE_IPTABLES_NFT_BACKEND: 0 RUST_LOG: INFO command: > phantun-server --local 1985 --remote 127.0.0.1:1984 --ipv4-only @@ -22,7 +22,7 @@ services: privileged: true environment: TZ: Asia/Taipei - USE_IPTABLES_NFT_BACKEND: 1 + USE_IPTABLES_NFT_BACKEND: 0 RUST_LOG: INFO command: > phantun-client --local 127.0.0.1:1984 --remote 11.22.33.44:1985 --ipv4-only diff --git a/docker/phantun.sh b/docker/phantun.sh index 446365d..36be794 100755 --- a/docker/phantun.sh +++ b/docker/phantun.sh @@ -4,10 +4,8 @@ if [ "$USE_IPTABLES_NFT_BACKEND" = 1 ]; then alias iptables=iptables-nft alias iptables-save=iptables-nft-save - alias iptables-restore=iptables-nft-restore alias ip6tables=ip6tables-nft alias ip6tables-save=ip6tables-nft-save - alias ip6tables-restore=ip6tables-nft-restore fi info() {