From a6518710958b574c0b82df3f8c74072dfd1aa922 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Wed, 16 Mar 2022 17:12:40 +0000 Subject: [PATCH] Update readme --- Readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index a3a47ed..709df4b 100644 --- a/Readme.md +++ b/Readme.md @@ -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*