From 3f83765c31b1892500cb6b29293a46bb96d274a2 Mon Sep 17 00:00:00 2001 From: Ricardo Pallas Date: Sat, 24 Aug 2024 20:33:22 +0200 Subject: [PATCH] Update README to include incoming interface (-i tun0) in client NAT commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d851d24..9e6e169 100644 --- a/README.md +++ b/README.md @@ -144,8 +144,8 @@ both IPv4 and IPv6 usage. #### Using iptables ``` -iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE -ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE +iptables -t nat -A POSTROUTING -o eth0 -i tun0 -j MASQUERADE +ip6tables -t nat -A POSTROUTING -o eth0 -i tun0 -j MASQUERADE ``` [Back to TOC](#table-of-contents)