Jump to content

Remote Networks Option


Go to solution Solved by pir8radio,

Recommended Posts

runtimesandbox
Posted

Could we get a "Remote networks" option similar to the LAN networks field under Advanced settings?

I use a reverse proxy for remote connections to my emby server, i'd like to be able to specify the reverse proxies IP address to be considered as a "Remote network" so that users that have the "allow remote connections to this emby server" unticked cannot be used to login externally.

Posted

But that's what the local network field is for. Anything outside of that is considered remote.

runtimesandbox
Posted

Yes i understand that, the problem is my reverse proxy is within my "local range". So if I put 192.168.1.1/24 in there it would mean that anything coming from the reverse proxy (remote access) is considered as local traffic

mastrmind11
Posted

Yes i understand that, the problem is my reverse proxy is within my "local range". So if I put 192.168.1.1/24 in there it would mean that anything coming from the reverse proxy (remote access) is considered as local traffic

There's a way to pass the external IP through the proxy.  I'm not at home right now so I can't look at my config, but my external connections display their external IPs.  @@pir8radio would know.

  • Solution
pir8radio
Posted (edited)

Yea, your RP should be passing the remote address to emby, not presenting its own address...    the below lines should be in your config.. if you dont have these chances are your config has other issues,    can you post it so we can make sure your emby is being proxied correctly?

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
Edited by pir8radio
  • Like 2
runtimesandbox
Posted

Thanks all for the replies, turns out I had the IP pass through configured all along. My bad!

 

Have tested and it works as expected, my one request would be for this to show a different message in the activity log rather than just:

"user authenticated successfully" 

"user disconnected" 

 

which is what currently happens.Maybe something like "local account remote access attempted" or similar 

Posted

Yea that's a good idea about the activity log. thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...