# Remote access disconnects often after tightening security from CLI

**URL:** <https://forums.plex.tv/t/remote-access-disconnects-often-after-tightening-security-from-cli/822370>\
**Category:** Remote Access\
**Tags:** server-linux\
**Created:** [December 11, 2022, 11:02pm UTC](https://forums.plex.tv/t/remote-access-disconnects-often-after-tightening-security-from-cli/822370 "2022-12-11T23:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohntr](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mohntr](https://forums.plex.tv/u/mohntr)\
**Post date:** [December 11, 2022, 11:02pm UTC](https://forums.plex.tv/t/remote-access-disconnects-often-after-tightening-security-from-cli/822370/1 "2022-12-11T23:02:51Z")

</div>

Server Version#: 1.29.2.6364  
Player Version#: 1.29.2.6364

I have changed so many things the last couple days trying to correct whatever it is I messed up. My remote access was great up till the day before yesterday when I was trying to tighten up the security on my headless Ubuntu Server.  
Ubuntu Server  
Dell T320 Server  
Verizon 5G Home internet (White Cube)

Ive tried:  
Setting the port 32400 manually - did undid redid - no help  
Enable/disable UFW - did allow the 32400 port  
Installed/uninstalled Fail2ban  
Installed/uninstalled RKhunter  
Installed/uninstalled Jack/John the ripper  
I did other security things but honestly can’t remember what all I did.

I’m considering trying to reinstall the Ubuntu Server over top. If anyone has any suggestions I’ll take them. I am not fluid in linux. I muttle through it LOL. Thank you.

EDIT to add: sometimes it will stay connected for several minutes, other times it won’t connect at all.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [December 11, 2022, 11:59pm UTC](https://forums.plex.tv/t/remote-access-disconnects-often-after-tightening-security-from-cli/822370/2 "2022-12-11T23:59:24Z")

</div>

> [@mohntr](#):
>
> Verizon 5G Home internet (White Cube)

Verizon 5G Home Internet uses [CGNAT](https://en.wikipedia.org/wiki/Carrier-grade_NAT) Internet addressing, which is incompatible with Plex remote access.

People may be able to connect remotely using [Plex Relay](https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/), which tunnels the stream through a server at Plex and is limited to 1 Mbps (2 Mbps with a Plex Pass).

[Plex Relay](https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/) can be enabled via Settings → Network → Enable Relay.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 11, 2023, 11:59pm UTC](https://forums.plex.tv/t/remote-access-disconnects-often-after-tightening-security-from-cli/822370/3 "2023-03-11T23:59:39Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
