Update readme

master
Kirigaya Kazuto 2022-03-16 17:12:40 +00:00
parent 8d4a3bc5f6
commit a651871095
1 changed files with 4 additions and 4 deletions

View File

@ -40,6 +40,10 @@ Enable [TCP BBR](https://en.wikipedia.org/wiki/TCP_congestion_control#TCP_BBR).
Set `net.ipv4.ip_forward` to 1. Enable ip packet forward.
**enable-dns-reload**
Enable DNS reloader for peers with endpoint. For each peer, a [transient timer and service](https://www.freedesktop.org/software/systemd/man/systemd-run.html) will be created and try resolving endpoint domain name every 30 seconds. If the dns record of a domain changes, wg-ops will try to update wireguard interface endpoint settings live.
**iptables-forward**
Add iptables rules to accept forward from this wireguard interface. Example: `iptables -A FORWARD -i wg0 -j ACCEPT`
@ -52,10 +56,6 @@ Add iptables rules to masquerade source ip as a gateway. Example: `iptables -t n
Run podman container as `username`. Default to `root`.
**enable-dns-reload**
Enable DNS reloader for peers with endpoint. For each peer, a transient timer and service will be created and try resolving endpoint domain name every 30 seconds. If the dns record of a domain changes, wg-ops will try to update wireguard interface endpoint settings live.
## Tunnel Tags
**udp2raw-server** *name* *port* *password*