From 8c7f4e98b39518e10bf5cbd69987e4ccf702015b Mon Sep 17 00:00:00 2001 From: Ricardo Pallas Date: Mon, 26 Aug 2024 13:50:07 +0200 Subject: [PATCH] docs(readme): update `README.md` to include incoming interface (`-i tun0`) in client NAT commands example (#163) --- 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)