mw420blazeit 2 Posted November 20, 2022 Share Posted November 20, 2022 How do I force emby to use ipv6 in WAN and keep ipv4 for LAN Link to comment Share on other sites More sharing options...
Luke 37068 Posted November 20, 2022 Share Posted November 20, 2022 Hi, you can customize your remote address in Emby Server network settings. Just keep in mind that if you do that, it will be your responsibility to keep the setting up to date if/when your IP changes. Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted November 21, 2022 Author Share Posted November 21, 2022 Any alternate solution to just point emby to use ipv6 so that it auto updates everytime the ip changes Link to comment Share on other sites More sharing options...
Luke 37068 Posted November 21, 2022 Share Posted November 21, 2022 I guess we'd have to add an option in network settings to prefer ipv6 when both are detected. Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted December 17, 2022 Author Share Posted December 17, 2022 On 22/11/2022 at 04:34, Luke said: I guess we'd have to add an option in network settings to prefer ipv6 when both are detected. would love that 1 Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted May 24, 2023 Author Share Posted May 24, 2023 Are there any server files I can edit to make this happen It always attaches to ipv4 which is behind NAT Link to comment Share on other sites More sharing options...
Luke 37068 Posted June 18, 2023 Share Posted June 18, 2023 On 11/20/2022 at 1:38 PM, Luke said: Hi, you can customize your remote address in Emby Server network settings. Just keep in mind that if you do that, it will be your responsibility to keep the setting up to date if/when your IP changes. Hi, did you try this? Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted July 21, 2023 Author Share Posted July 21, 2023 On 22/11/2022 at 04:34, Luke said: I guess we'd have to add an option in network settings to prefer ipv6 when both are detected. I actually wanted this to be a thing Link to comment Share on other sites More sharing options...
Luke 37068 Posted August 31, 2023 Share Posted August 31, 2023 @mw420blazeitI'm happy to add this option for you, but we'll have to find another service to use to obtain your ipv6 address. We use ipify: https://www.ipify.org/ Currently we use the ipv4 url. They have a universal url but they seem to send back ipv4 when available and there's no way to control that. But if you jump on the server beta channel, starting in 4.8.0.45+, this will be a hidden config switch. In config/system.xml, set PreferredDetectedRemoteAddressFamily to InterNetworkV6 Then start the server. This will have the server use their universal url. Perhaps for you it will result in ipv6. 1 Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted September 1, 2023 Author Share Posted September 1, 2023 12 hours ago, Luke said: @mw420blazeitI'm happy to add this option for you, but we'll have to find another service to use to obtain your ipv6 address. We use ipify: https://www.ipify.org/ Currently we use the ipv4 url. They have a universal url but they seem to send back ipv4 when available and there's no way to control that. But if you jump on the server beta channel, starting in 4.8.0.45+, this will be a hidden config switch. In config/system.xml, set PreferredDetectedRemoteAddressFamily to InterNetworkV6 Then start the server. This will have the server use their universal url. Perhaps for you it will result in ipv6. OMG thanks will try definitely 1 Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted September 5, 2023 Author Share Posted September 5, 2023 On 31/08/2023 at 23:55, Luke said: @mw420blazeitI'm happy to add this option for you, but we'll have to find another service to use to obtain your ipv6 address. We use ipify: https://www.ipify.org/ Currently we use the ipv4 url. They have a universal url but they seem to send back ipv4 when available and there's no way to control that. But if you jump on the server beta channel, starting in 4.8.0.45+, this will be a hidden config switch. In config/system.xml, set PreferredDetectedRemoteAddressFamily to InterNetworkV6 Then start the server. This will have the server use their universal url. Perhaps for you it will result in ipv6. Unfortunately it did not work for me, still shows the NAT walled ipv4 But as stated that emby uses https://www.ipify.org/ Running their ipv6 command, I get my proper ipv6 $ curl 'https://api64.ipify.org?format=json' Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted March 15 Author Share Posted March 15 On 31/08/2023 at 23:55, Luke said: @mw420blazeitI'm happy to add this option for you, but we'll have to find another service to use to obtain your ipv6 address. We use ipify: https://www.ipify.org/ Currently we use the ipv4 url. They have a universal url but they seem to send back ipv4 when available and there's no way to control that. But if you jump on the server beta channel, starting in 4.8.0.45+, this will be a hidden config switch. In config/system.xml, set PreferredDetectedRemoteAddressFamily to InterNetworkV6 Then start the server. This will have the server use their universal url. Perhaps for you it will result in ipv6. Any way to try this on stable 4.8.3 unable to find system.xml Link to comment Share on other sites More sharing options...
Luke 37068 Posted March 15 Share Posted March 15 4 hours ago, mw420blazeit said: Any way to try this on stable 4.8.3 unable to find system.xml Hi, where are you looking for it? Link to comment Share on other sites More sharing options...
mw420blazeit 2 Posted March 15 Author Share Posted March 15 14 minutes ago, Luke said: Hi, where are you looking for it? /opt/emby-server/system Link to comment Share on other sites More sharing options...
Luke 37068 Posted March 15 Share Posted March 15 It's /config/system.xml from under the server data folder: Emby Server Data Folder 1 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