Networks accessible between different LXC

Forssux

Member
Mar 27, 2022
57
4
13
Hi there,

I have a Proxmox 8.0.4 running on an old Dell 520.
I have implemented docker services on LXC 103. This is my main LXC, services running are Traefik, Portainer Authentik and docker-socket.
I have less important LXC 110. Here I have not installed Traefik and Authentik as I would like to have it done by the LXC 103
LXC 103 has a docker-socket service running serving a 192.168.91.0/24
LXC 110 has a docker-socket service running serving a 192.168.110.0/24
Traefik is finding some apps from the LXC 110 while others aren't found.
For example Prowlarr is a service created on the LXC 110, It's found in Traefik (LXC 103) and accessible in the browser.
Portainerapps is also created on LXC 110 it's found in Traefik but not accessible in the browser.
Some people tell me that no apps served on another LXC should be visible in another LXC.
I'm baffled and would like some insights.

This is my app-portainerapps.yml
Code:
http:
  routers:
    portainerapps-rpi-rtr:
      rule: "Host(`portainerapps.{{env "DOMAINNAME"}}`)"
      entryPoints:
        - https
      middlewares:
        - chain-no-auth
      service: portainerapps-rpi-svc
      tls:
        certResolver: dns-cloudflare
  services:
    portainerapps-rpi-svc:
      loadBalancer:
        servers:
          - url: "http://192.168.1.181:9990"

This my app-prowlarr.yml
Code:
http:
  routers:
    prowlarr-rpi-rtr:
      rule: "Host(`prowlarr.{{env "DOMAINNAME"}}`)"
      entryPoints:
        - https
      middlewares:
        - chain-authentik
      service: prowlarr-rpi-svc
      tls:
        certResolver: dns-cloudflare
  services:
    prowlarr-rpi-svc:
      loadBalancer:
        servers:
          - url: "http://192.168.1.181:9696"
 

Attachments

  • message.txt
    message.txt
    2.3 KB · Views: 0
  • Screenshot from 2023-09-05 17-30-16.png
    Screenshot from 2023-09-05 17-30-16.png
    132.2 KB · Views: 5
  • Screenshot from 2023-09-05 16-57-20.png
    Screenshot from 2023-09-05 16-57-20.png
    88 KB · Views: 5
  • Screenshot from 2023-09-05 16-55-40.png
    Screenshot from 2023-09-05 16-55-40.png
    121.8 KB · Views: 5
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!