Problems with remote access outside with using synology ds218 and using my router tp-link ax5400 wifi 6

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