Hi all,

Apologies if this isn’t the correct place to ask, if not just point me in the right direction.

Hopefully someone can help me with this as i’ve been struggling for a while now. Previously i’ve been using the free Oracle VPS to proxy some services that are being ran from my local server to access them without tailscale but am now looking to host some stuff myself on it like FreshRSS.

I’m running Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-1037-oracle aarch64) on the VPS, Nginx Proxy Manager and using Cloudflare for domain stuff.

The issue is, whenever i try to access the URL of something set up on the VPS with the IP on NPM set to either the private IP, localhost, VPS tailscale IP or 127.0.0.1, i get a 502 error from cloudflare, however, if i set that same proxy host to the tailscale IP and port of something on my local server, it works fine, which suggests to me it’s something LAN related on the VPS i need to sort but i just can’t figure out what.

Anyone got any ideas?

EDIT: Turns out it was due to iptables on the VM. https://lemmy.world/comment/325214

Oracle has 2 very strict firewalls. You have to open ports from the oracle Web interface (mandatory) and maybe also set rules on your VM.

Yea, its sometimes annoying when you have to manage 2 firewalls (still to this day i find the Oracle interface too messy), but it makes it secure

You didn’t say anything about firewall or security list, so did you add rules in the subnet security list of your instance and did you open ports in iptables to allow incoming traffic on NPM port?

See this blog post for more details : https://blogs.oracle.com/developers/post/enabling-network-traffic-to-ubuntu-images-in-oracle-cloud-infrastructure

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 215 users / day
  • 438 users / week
  • 1.15K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.71K Posts
  • 74.7K Comments
  • Modlog