Jump to content

Force ipv6


mw420blazeit

Recommended Posts

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

  • 4 weeks later...
mw420blazeit
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 ❤️

  • Thanks 1
Link to comment
Share on other sites

  • 5 months later...
mw420blazeit

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

  • 4 weeks later...
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

  • 1 month later...
mw420blazeit
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

  • 1 month later...

@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.

  • Like 1
Link to comment
Share on other sites

mw420blazeit
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

  • Thanks 1
Link to comment
Share on other sites

mw420blazeit
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'



image.png

Link to comment
Share on other sites

  • 6 months later...
mw420blazeit
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

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

mw420blazeit
14 minutes ago, Luke said:

Hi, where are you looking for it?

/opt/emby-server/system

Link to comment
Share on other sites

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...