docs(readme): update README.md to include incoming interface (-i tun0) in client NAT commands example (#163)
Some checks are pending
Rust / build (push) Waiting to run

This commit is contained in:
Ricardo Pallas 2024-08-26 13:50:07 +02:00 committed by GitHub
parent 90b93370ce
commit 8c7f4e98b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)