Skip to content

Commit

Permalink
docs(readme): update README.md to include incoming interface (`-i t…
Browse files Browse the repository at this point in the history
…un0`) in client NAT commands example (dndx#163)
  • Loading branch information
RPallas92 authored Aug 26, 2024
1 parent 90b9337 commit 8c7f4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8c7f4e9

Please sign in to comment.