Accessing Lemmy Server with internal IP

For those of you who host their own Lemmy instance internally, are you able to log in to your Lemmy account after connecting with the local IP address?

I get SyntaxError: JSON.parse: unexpected character at line 1of the JSON data.

EDIT: I should mention I use OPNSense and when I visit the domain, I'm taken to the router's login page.

24 points · 9 comments · view on lemmy.world

9 Comments

mcmxci@mimiclem.me · 9 pts · 3y (1 reply)

I use a reverse proxy so I still use a DNS name to access internally.

AES@lemmy.ronsmans.eu · 1 pts · 3y

This is the way

w0odl@lemmy.radio · 6 pts · 3y (1 reply)

I believe some things are populated by your hostname in the lemmy configs so straight IP may break a few things.

dandroid@dandroid.app · 3 pts · 3y

I had the same issue as OP when setting up my instance. Properly setting the domain name in all the config files fixed it for me. So I am assuming you are right.

RespectfullyNo@sh.itjust.works · 5 pts · 3y

You’ll probably want to do it by dns name

Yubishi@lemmy.one · 4 pts · 3y (1 reply)

When you say internally, do you mean behind a NAT, or something to that effect?

starkcommando@lemmy.world · 3 pts · 3y

I mean from the same LAN.

narshee@iusearchlinux.fyi · 1 pts · 3y

It worked on 0.17.4, but on 0.18.0 I get the error you get