mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
Update readme
This commit is contained in:
parent
8d4a3bc5f6
commit
a651871095
|
@ -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.
|
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**
|
**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`
|
||||||
|
@ -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`.
|
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
|
## Tunnel Tags
|
||||||
|
|
||||||
**udp2raw-server** *name* *port* *password*
|
**udp2raw-server** *name* *port* *password*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user