Update readme

master
Kirigaya Kazuto 2022-03-09 03:33:01 +00:00
parent 413af7c180
commit 793b341026
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ Set `net.ipv4.ip_forward` to 1. Enable ip packet forward.
**iptables-forward**
Add iptables rules to accept forward from this wireguard interface. Example: `iptables -A FORWARD -i wg0 -J ACCEPT`
Add iptables rules to accept forward from this wireguard interface. Example: `iptables -A FORWARD -i wg0 -j ACCEPT`
**iptables-gateway**
Add iptables rules to masquerade source ip as a gateway. Example: `iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE`
**podman-user** *username*