Remote Access works for a few seconds then stops

Server Version#: 4.18.1Plex Media Server Logs_2019-12-26_11-43-30.zip (4.1 MB)
Player Version#:

I have been having on and off remote access issues for years. I am trying to take the free time I have over the next few days and fix it. I have searched high and low and can not find a solution that works for me. Remote access issues are ALL OVER multiple forums. I have tried so many different ways that my head is spinning. Can you please help?

Try these two links:

https://support.plex.tv/articles/200289506-remote-access/

If it doesn’t work, let us know

I see you have 4 IPs configured in your server. I can’t see what mask you’re using, but apparently they are at the same network 192.168.1.0/24.
Connect to your machine using the IP 192.168.1.110 and then, with root user run the commands bellow:

ifconfig eth1 down
ifconfig eth2 down
ifconfig eth3 down

Re-enable your remote access and try to stream something.

I do have 4 ip addresses. My port forward is to a single address. Why do you think shuttling traffic to a single IP address will help?

Because I think you have a “default route” problem. What’s the mask you are using with these IPs? You gonna need to put them in different networks (/29) to make it work.

Can you paste here the results of the command below and tell us what IP you want plex to use?

netstat -nr
arp -a

IP_Info.txt (7.7 KB)

Mannn, any service you host on this server is gonna be unstable. Look at the arp below. You “know” your gateway through all the four interfaces.

RizzoSecureGateway (192.168.1.1) at f0:9f:c2:10:61:be [ether] on eth0
RizzoSecureGateway (192.168.1.1) at f0:9f:c2:10:61:be [ether] on eth1
RizzoSecureGateway (192.168.1.1) at f0:9f:c2:10:61:be [ether] on eth2
RizzoSecureGateway (192.168.1.1) at f0:9f:c2:10:61:be [ether] on eth3

That’s what is happening:

Request: External Player ----> YOUR_ROUTER ----> 192.168.1.84
Response: 192.168.1.141----> YOUR_ROUTER ----> Because you are answering with the wrong IP, your router will drop the connection.

It means, sometimes is gonna work, some times will not. Trust me, 4 IPs at the same network is a big networking mistake. Just shutdown those interfaces and see everything working flawlessly.

Okay, full confession. I am learning linux and networking and have A LOT to learn about both. Thank you for your help! It much appreciated!

So how do I shut those extra IP address down? Unplug them?

You can unplug them or logged with root user paste the commands below

ifconfig eth1 down
ifconfig eth2 down
ifconfig eth3 down

But this command will only disable them until the next reboot. You can search the internet to disable them for good. You gonna have to change some files to achieve that.

can I just put that in the fstab file?

Noooo, fstab has nothing to do with network.
Paste the command in your terminal

Yes, I disabled them using that command as sudo. I was asking about a long term solution. can I put those comands in the fstab so when the server boots it disables those Ethernet ports?

Whats your OS? Centos?

Ubuntu.

I pulled the physical connections.

Now, go to Plex disable and enable remote connection. Is is working? If you have graphical internface, just go to network manager and disable the interfaces. They wont come up again

It was for much longer. like 30 seconds. now it says it is down again.

ok, run te commands below

arp -a
netstat -nr
ifconfig

here it is: ip_config2.txt (4.5 KB)

Now looks ok. Can you restart Plex Server? Not only the remote access

I’ll reboot the server