From da9d379a9a8e8c968244b3569045697084b398c2 Mon Sep 17 00:00:00 2001 From: liuganghuan Date: Fri, 5 Jan 2024 20:18:35 +0800 Subject: [PATCH] Update nat service to use latest version of dnat executable --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1187f57..af8992a 100644 --- a/README.md +++ b/README.md @@ -53,11 +53,9 @@ yum install -y nftables ```shell # 必须是root用户 # sudo su - -systemctl stop nat # 下载可执行文件 -wget -O /usr/local/bin/nat http://cdn.arloor.com/tool/dnat -chmod +x /usr/local/bin/nat +curl -sSLf https://github.com/arloor/nftables-nat-rust/releases/download/v1.0.0/dnat -o /tmp/nat +install /tmp/nat /usr/local/bin/nat # 创建systemd服务 cat > /lib/systemd/system/nat.service <