Remote Access Keeps disconnecting every 30 secs

My Remote access keeps disconnecting after a few secs.

Plex will display the remote access status as „green while it’s testing the connection. So, the status switching to red after a few seconds (up to 1-2 minutes) means it’s not working at all.

Did you already have a look at the related troubleshooting support article?

https://support.plex.tv/articles/200931138-troubleshooting-remote-access/

There’s also a guide with some more details on how to troubleshoot remote access issues.