Skip to main content

PreDown

The PreDown command is used to run commands on request the tunnel be destroyed/brought down, it's the inverse of PreUp and is useful to remove things added on the construction of the tunnel that depend on it existing, like IP addresses on it's interface

Example is below

PreDown = ip addr del 4.5.6.2/32 dev wg0