How to keep teamviewer online on macOS monterey?

Options

Hi there,

Everytime i close the lid of macbook, teamviewer will be offline and i can't remote control it from other devices. It also occurs after a while when i locke the screen. I've tried to set the power "wake for network access" and i'm sure the network is connected cause i can ping it from another computer. So i guess it is something wrong on teamviewer side.

Someone help pls. Thanks in advance.

Platform: macOS Monterey 12.6

teamviewer version: 15.34.4

Tagged: