wernight / docker-plex-media-server

Dockerized Plex Media Server
https://registry.hub.docker.com/u/wernight/plex-media-server/
MIT License
128 stars 34 forks source link

Real server range for settings in README #9

Closed JigSawFr closed 7 years ago

JigSawFr commented 8 years ago

Hi, I suggest you to add some instructions to README As to view Plex Settings, you need to add IP range of docker (take a look with a netconfig), Most of the time it's 172.17.0.1/255.255.0.0 So, adding allowedNetworks="172.17.0.1/255.255.0.0" works fine ! No need to change networking of container or add other range ;)

wernight commented 8 years ago

There is already a section like that under Troubleshooting; may be could detail it a bit.

A better option may be to include both 192.168.0.1/255.255.0.0, 172.17.0.1/255.255.0.0 by default if Plex supports having both ranges.

JigSawFr commented 8 years ago

@wernight yes, Plex support multiple range separated by a comma.

wernight commented 8 years ago

I wonder if this is still something desired. It could open security bugs like IP spoofing in some cases. The alternative of --net=host works, and the other improved alternative is to provide a username/password or token and those should now work also very soon.