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() {