diff --git a/nm-proxy/manager/manager.go b/nm-proxy/manager/manager.go index 1aa26763..3710959b 100644 --- a/nm-proxy/manager/manager.go +++ b/nm-proxy/manager/manager.go @@ -280,6 +280,7 @@ func (m *ManagerAction) AddInterfaceToProxy() error { defer func() { if addExtClient { log.Println("GOT ENDPOINT for Extclient adding peer...") + go packet.StartSniffer(wgInterface.Name, peerConf.Address) common.PeerKeyHashMap[fmt.Sprintf("%x", md5.Sum([]byte(peer.PublicKey.String())))] = common.RemotePeer{ Interface: wgInterface.Name, PeerKey: peer.PublicKey.String(),