anyone got Plex remote access working on Oracle Cloud?

cybertechcybertech OGBenchmark King

free tier.

am new to public and internal IP. normally my Plex servers are connected directly via public IP.

in this case there's a public and private IP assigned to the VM and it shows me below, I don't understand. under the VCN security settings I opened TCP 32400 for ingress.

not sure whats missing here.

I bench YABS 24/7/365 unless it's a leap year.

Comments

  • The iptables may need to be modified.

    Thanked by (1)cybertech
  • May be you need to add 32400 to egress as well

    Thanked by (1)cybertech
  • @cybertech said:

    not sure whats missing here.

    You need to edit iptables to allow 32400 ingress.
    I use the template in this video

    Thanked by (1)cybertech
  • cybertechcybertech OGBenchmark King

    thanks for all the tips. tried everything and it now works, now gotta figure out which was the key.

    I bench YABS 24/7/365 unless it's a leap year.

  • @cybertech said:
    thanks for all the tips. tried everything and it now works, now gotta figure out which was the key.

    Try reversing the each action and see which one breaks it

    Thanked by (1)cybertech
  • @cybertech said:
    thanks for all the tips. tried everything and it now works, now gotta figure out which was the key.

    Sometimes Plex lies about whether it can be accessed from the Internet. I get that message appear occasionally even though my Plex is completely accessible...

    Thanked by (1)BarryHercules

    Get the best deal on your next VPS or Shared/Reseller hosting from RacknerdTracker.com - The original aff garden.

  • edited July 2021

    @dahartigan said:

    @cybertech said:
    thanks for all the tips. tried everything and it now works, now gotta figure out which was the key.

    Sometimes Plex lies about whether it can be accessed from the Internet. I get that message appear occasionally even though my Plex is completely accessible...

    There must be sonething wrong with your plex server then or may be network it is on. I have few servers in EU that are accessible whenever I try.

    The issue in OP's case was due to iptables. I dont use oracle cloud myself for plex but I do know that firewall configuration alone isnt enough to access services on oracle cloud. I found about the iptables issue from the oracle cloud thread at OGF. Once I reset the IPtables, it was just like any other VPS and I was able to use v2ray

  • @xowxenxirix said:

    @dahartigan said:

    @cybertech said:
    thanks for all the tips. tried everything and it now works, now gotta figure out which was the key.

    Sometimes Plex lies about whether it can be accessed from the Internet. I get that message appear occasionally even though my Plex is completely accessible...

    There must be sonething wrong with your plex server then or may be network it is on. I have few servers in EU that are accessible whenever I try.

    The issue in OP's case was due to iptables. I dont use oracle cloud myself for plex but I do know that firewall configuration alone isnt enough to access services on oracle cloud. I found about the iptables issue from the oracle cloud thread at OGF. Once I reset the IPtables, it was just like any other VPS and I was able to use v2ray

    Nothing wrong with my Plex server, running solid for years now. It is probably as you suggested a networking setup thing. I have my Plex on a NAT network, no public IP, but it's port forwarded for direct access with iptables rules and I also use haproxy and cloudflare for the frontend on a subdomain. Runs flawlessly.

    Get the best deal on your next VPS or Shared/Reseller hosting from RacknerdTracker.com - The original aff garden.

  • cybertechcybertech OGBenchmark King

    seems like it's gotta take a while for ARM cloud resources to free up before I can make a new VM and try it again :p

    I bench YABS 24/7/365 unless it's a leap year.

  • d0gd0g
    edited March 17

    I've got the same problem @cybertech ... did you find a way to make it work?
    I've tried firewalld, iptables, ingress/egress rules, disabling ufw ... nothing works!

    Also not sure if related but server shows port 0 on public side:

  • Using this usually works for me after adjusting the VCN security list: https://stackoverflow.com/questions/54794217/opening-port-80-on-oracle-cloud-infrastructure-compute-node

    Cheap dedis are my drug, and I'm too far gone to turn back.

  • @dahartigan said:

    @cybertech said:
    thanks for all the tips. tried everything and it now works, now gotta figure out which was the key.

    Sometimes Plex lies about whether it can be accessed from the Internet. I get that message appear occasionally even though my Plex is completely accessible...

    Happened to my setup a number of times of the years, even reporting the problem whilst people are streaming content over the internet. Whatever they’re doing to validate connectivity clearly isn’t exactly what’s need to connect to PMS over the internet.

  • cybertechcybertech OGBenchmark King

    @d0g said:
    I've got the same problem @cybertech ... did you find a way to make it work?
    I've tried firewalld, iptables, ingress/egress rules, disabling ufw ... nothing works!

    Also not sure if related but server shows port 0 on public side:

    i stopped using oracle free ... but i think i did manage to get it work for a short while as per @CamoYoshi 's method - VCN

    I bench YABS 24/7/365 unless it's a leap year.

  • To open a port on Oracle Cloud, you need:

    • VCN ingress rule
    • iptables ACCEPT rule

    Internet Gateway provides symmetric NAT, and there's no need for port forwarding rule.

    Reference: How to Host a Website in Oracle Cloud Free Tier

Sign In or Register to comment.