Suddenly cannot access server

I have been having an issue after the update with Plex I keep losing remote access.I run Freenas.When I’m back in my home network I will reset the connection for remote acces and it works but after a couple of hours it will reset back. Not sure what to do as well.