Skip to content

How to use a PostUp hook to restart WireGuard every few minutes or hours? #91

@kevinfay

Description

@kevinfay

Dynamic IP addresses
Many users report having to restart WireGuard whenever a dynamic IP changes, as it only resolves hostnames on startup. To force WireGuard to re-resolve dynamic DNS Endpoint hostnames more often, you may want to use a PostUp hook to restart WireGuard every few minutes or hours.

https://github.com/pirate/wireguard-docs#dynamic-ip-addresses

"But I don't know how to implement this PostUp hook. Help me, pls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions