Carlo 4330 Posted October 7, 2018 Share Posted October 7, 2018 @@Luke I haven't tested this but with the info he has shown from his logs it appears Emby isn't calculated internal vs external correctly. If he has set 172.16.128.0/25 then the ONLY IPs that should be considered local are: 172.16.128.1 - 172.16.128.126 The IPs he is using for VPN are above .127 so they should be "external" if he has set 172.16.128.0/25 it would be considered local if that field was blank or set to 172.16.128.0/24 Link to comment Share on other sites More sharing options...
daschef 9 Posted October 7, 2018 Author Share Posted October 7, 2018 new test: even if i set the local net to only 2 IPs, 172.16.128.254 is still local for emby Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted October 7, 2018 Share Posted October 7, 2018 (edited) Sorry with my test I added two LAN IP addresses and all others LAN addresses were redirect to external access HTTPS. I only tested 4 other devices with local addresses not listed in server setting and all were redirected. So to me it would appear to be something with your system/network setup. Also test "192.168.151.0/25" and manually assigning a system ip to 192.168.151.254 and it was considered external and redirected to HTTPS. Tested on Windows beta server. Edited October 7, 2018 by Happy2Play Link to comment Share on other sites More sharing options...
sfatula 185 Posted October 7, 2018 Share Posted October 7, 2018 (edited) Anything in private address space we do assume local, yes. Not for me... I have LAN networks settings set to: 192.168.3.0/255.255.255.0 On my openvpn via my router, I get IPs in 10.8.0.0/255.255.255.0 and they are treated as external just fine. Streaming bitrate limits are applied. All works well. Edited October 7, 2018 by sfatula Link to comment Share on other sites More sharing options...
daschef 9 Posted October 7, 2018 Author Share Posted October 7, 2018 @Happy2Play: the problem is bandwith throttling, not https redirection Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted October 7, 2018 Share Posted October 7, 2018 (edited) Right, my test just proves the ip is being treated as external. The redirect only happens on external so the setting is working and treating .254 as a external network device. And my "Internet streaming bitrate limit (Mbps):" applies to the local machine. Edited October 7, 2018 by Happy2Play Link to comment Share on other sites More sharing options...
daschef 9 Posted October 8, 2018 Author Share Posted October 8, 2018 are you sure that the bitrate limitation applies? Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 8, 2018 Share Posted October 8, 2018 Right, my test just proves the ip is being treated as external. The redirect only happens on external so the setting is working and treating .254 as a external network device. And my "Internet streaming bitrate limit (Mbps):" applies to the local machine. Not really the same test. Try one like he mentioned with a /25 So for example enter 192.168.3.0/25 in the setting then try connecting with an ip such as 192.168.3.200 and see if it's external like it should be. @@daschef, just curious but after changing the network settings are you restarting Emby? No idea if that's needed but may not be a bad thing to do. Link to comment Share on other sites More sharing options...
daschef 9 Posted October 8, 2018 Author Share Posted October 8, 2018 i restarted several times .... curious thing Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted October 8, 2018 Share Posted October 8, 2018 Not really the same test. Try one like he mentioned with a /25 So for example enter 192.168.3.0/25 in the setting then try connecting with an ip such as 192.168.3.200 and see if it's external like it should be. @@daschef, just curious but after changing the network settings are you restarting Emby? No idea if that's needed but may not be a bad thing to do. How is post 28 and 31 not the exact same test? Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 8, 2018 Share Posted October 8, 2018 How is post 28 and 31 not the exact same test? Does look like the same test! OK so I just tested this for the first time (for this thread) using: 192.168.100.1/26 192.168.100.1/25 192.168.100.1/24 I used two test client of: 192.168.100.100 192.168.100.200 They were found external when they should have been and internal when they should have been! I tested this on Version 3.6.0.53 beta So at least on the beta it works fine! Link to comment Share on other sites More sharing options...
daschef 9 Posted October 8, 2018 Author Share Posted October 8, 2018 i have the latest beta ... can it be that https redirection and bandwith throttling use different methods to detect external ips? Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted October 8, 2018 Share Posted October 8, 2018 i have the latest beta ... can it be that https redirection and bandwith throttling use different methods to detect external ips? I just tested disabling secure connections and set LAN Networks to 192.168.151.0/25 and logged in from a system with 192.168.151.254 as a ip address and the external connection required me to enter my password and media was restricted to my set "Internet streaming bitrate limit (Mbps): 3". Link to comment Share on other sites More sharing options...
Carlo 4330 Posted October 8, 2018 Share Posted October 8, 2018 I just tested disabling secure connections and set LAN Networks to 192.168.151.0/25 and logged in from a system with 192.168.151.254 as a ip address and the external connection required me to enter my password and media was restricted to my set "Internet streaming bitrate limit (Mbps): 3". Same with my test as I used 2Mb rate and it applied during transcode when I viewed a movie. From internal IP space it direct played. @@daschef, you may want to post screen shots of your settings as it seems like something isn't set correct. Link to comment Share on other sites More sharing options...
sfatula 185 Posted October 8, 2018 Share Posted October 8, 2018 Mine too as noted. Definitely applied the bitrate limit. This is with a Linux server, xubuntu. Link to comment Share on other sites More sharing options...
daschef 9 Posted October 9, 2018 Author Share Posted October 9, 2018 Ok, then it obviously must be a problem with my local installation .... I will try to replace that Synology-VPN with ipsec, then the problem is gone for me. 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