diff --git a/internal/app/wireguard/wireguard_peers.go b/internal/app/wireguard/wireguard_peers.go index 8feb60fc..b4764d2f 100644 --- a/internal/app/wireguard/wireguard_peers.go +++ b/internal/app/wireguard/wireguard_peers.go @@ -128,8 +128,8 @@ func (m Manager) PreparePeer(ctx context.Context, id domain.InterfaceIdentifier) RoutingTable: domain.NewStringConfigOption(iface.PeerDefRoutingTable, true), PreUp: domain.NewStringConfigOption(iface.PeerDefPreUp, true), PostUp: domain.NewStringConfigOption(iface.PeerDefPostUp, true), - PreDown: domain.NewStringConfigOption(iface.PeerDefPreUp, true), - PostDown: domain.NewStringConfigOption(iface.PeerDefPostUp, true), + PreDown: domain.NewStringConfigOption(iface.PeerDefPreDown, true), + PostDown: domain.NewStringConfigOption(iface.PeerDefPostDown, true), }, }