Network security for hybrid cloud