Guest Posted June 25, 2017 Share Posted June 25, 2017 Hey Folks, Little Question: Is it possible to disable the logging of IP Address on the server? I have a few mates using it and i kind of feel a bit bad because i get their IP Addresses everytime they login. So is there any possibility to disable this? or could you kindly point me in the right direction to remove it in the code? I even tried to do a reverse proxy in front of the reverse proxy of my emby server to disgintuish the users ip, but it still gets it. So if you have any advice, i would be happy Greetings Link to comment Share on other sites More sharing options...
Luke 36881 Posted June 25, 2017 Share Posted June 25, 2017 Why would you feel bad? if someone is connecting to your machine I think the Ip address is something you'd want to be aware of as the administrator of your server. Link to comment Share on other sites More sharing options...
Solution pir8radio 1289 Posted June 26, 2017 Solution Share Posted June 26, 2017 Yea, I think most people will agree with what Luke said, and just having their address doesn't mean you can really do anything to them, or with the address. Every website they/you visit collects the user's IP's. But if you find you want to put an nginx reverse proxy up in front of it you can make all of the IP's appear as a single fake IP. Link to comment Share on other sites More sharing options...
tymanthius 18 Posted July 4, 2017 Share Posted July 4, 2017 Where in the logs do I find someone's IP? As in I want see user Snuffy's IP when he logged in yesterday at 13:03? Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2017 Share Posted July 23, 2017 (edited) Yea, I think most people will agree with what Luke said, and just having their address doesn't mean you can really do anything to them, or with the address. Every website they/you visit collects the user's IP's. But if you find you want to put an nginx reverse proxy up in front of it you can make all of the IP's appear as a single fake IP. Did exactly this now, with my NGINX Reverse proxy For everyone else if you want to do this too, just set this two Parameters to a random local IP (Doesnt have to be existing, just valid) proxy_set_header X-Real-IP 192.168.178.192; proxy_set_header X-Forwarded-for 192.168.178.192; If anyone has an advice if this is bad practice, good ahead and correct me :-) Final Statement: My Users are my friends. i trust my Friends. I do not want their IPs show up in my Logs, because i trust them as they trust me. And if i need to do Server Maintenance, i can still lookup the NGINX Log files. Edited July 23, 2017 by cyberplay Link to comment Share on other sites More sharing options...
pir8radio 1289 Posted July 23, 2017 Share Posted July 23, 2017 (edited) Did exactly this now, with my NGINX Reverse proxy For everyone else if you want to do this too, just set this two Parameters to a random local IP (Doesnt have to be existing, just valid) proxy_set_header X-Real-IP 192.168.178.192; proxy_set_header X-Forwarded-for 192.168.178.192; If anyone has an advice if this is bad practice, good ahead and correct me :-) Final Statement: My Users are my friends. i trust my Friends. I do not want their IPs show up in my Logs, because i trust them as they trust me. And if i need to do Server Maintenance, i can still lookup the NGINX Log files. Careful using an internal range like 192.168.x.x I would ping google and maybe use their address.. Emby tries to force a higher bitrate for local users rather than checking their available bandwidth. You might find some users complaining of choppy video. I would use some random external IP if you can. Within nginx you can choose not to log the ip in the nginx logs. But if you ever have a malicious user/hacker you wont be able to do any investigating. Edited July 23, 2017 by pir8radio Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now