Hi, I have a problem accessing Paperless-ngx when I'm connected to my home network from a VPN. I've tried to make a simple sketch of my setup: Phone --> Wireguard --> Public Internet --> Unifi Wireguard server --> Home Network

Paperless-ngx is hosted on my server at 192.168.1.10:8000 But I can easily access all other services hosted on my server (192.168.1.10), e.g. homer (:8888) and Immich (:8080). It is just Paperless-ngx which doesn't work.

When at home and connected to my home WiFi I can also access Paperless-ngx.

Anyone having ideas to figure out, what is wrong in my setup? Or how to debug?

all 9 comments

sorted by: hot top controversial new old
[–] 6 points 11 months ago (1 child)

Your WG network is a separate subnet. Add it to PAPERLESS_ALLOWED_HOSTS to allow access.

  • source
  • hideshow 1 child comment
  • [–] 4 points 11 months ago (2 children)

    Ping,Tracert,Knock on the port with Telnet.

    I’m guessing firewall rules related to your vpn.

  • source
  • hideshow 2 child comments
  • [–] 2 points 11 months ago* (last edited 11 months ago)

    I’m not familiar with paperless but do you have PAPERLESS_BIND_ADDR set? maybe try to set it to 0.0.0.0

  • source
  • [–] [S] 1 point 11 months ago

    It must be a Paperless-ngx specific issue. Stopped Homer service available on :8888 and changed Paperless-ngx to be served on :8888 and it still doesn't work. This rules out firewall and network issues as Homer was accessible on this port.

  • source
  • [–] 1 point 11 months ago (1 child)
  • [–] [S] 1 point 11 months ago

    Nothing in Unifi firewall logs nor Paperless-ngx logs. I'm using standard zones based a firewall rules in Unifi. And I looked through the firewall rules, and I don't find anything related to port 8000.

  • source
  • parent