From 0dafbc8b989f3fa8b975d1e37aff30f23dc7133e Mon Sep 17 00:00:00 2001 From: netbyte Date: Thu, 10 Feb 2022 17:39:55 +0800 Subject: [PATCH] update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cb41e0..3e47d54 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,8 @@ sudo ./vtun-linux-amd64 -S -l=:3001 -c=172.16.0.1/24 -k=123456 ``` sudo echo 1 > /proc/sys/net/ipv4/ip_forward sudo sysctl -p - sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 -o ens3 -j MASQUERADE + // eth0 is the name of your public network interface + sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 -o eth0 -j MASQUERADE ``` ## Docker