• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access How to enable IPv6 on command line ?

     
    • 0 Vote(s) - 0 Average

    How to enable IPv6 on command line ?

    NicoxOne
    Offline

    Junior Member

    Posts: 12
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:France
    #1
    2024-08-08, 07:01 PM
    Hello,

    I have a new host in a IPv6 environnement.
    However, it seems like that by default, IPv6 is not enabled.

    Code:
    nico@wana:~$ sudo netstat -l
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address          Foreign Address        State
    tcp        0      0 0.0.0.0:8096            0.0.0.0:*              LISTEN
    tcp        0      0 _localdnsproxy:domain  0.0.0.0:*              LISTEN
    tcp        0      0 _localdnsstub:domain    0.0.0.0:*              LISTEN
    tcp6      0      0 [::]:ssh                [::]:*                  LISTEN
    udp        0      0 0.0.0.0:7359            0.0.0.0:*
    udp        0      0 _localdnsproxy:domain  0.0.0.0:*
    udp        0      0 _localdnsstub:domain    0.0.0.0:*
    raw6      0      0 [::]:ipv6-icmp          [::]:*               

    We can see the port openned on tcp but not on tcp6.

    Is there a way to enable it by command line on the linux host ?
     Thank you
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #2
    2024-08-08, 07:22 PM
    IPv6 is enabled by default in pretty much every modern Linux distro. But your ISP and your router needs to support it. And a lot routers don't enable IPv6 by default so you'd need enable it, assuming your ISP supports IPv6.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    NicoxOne
    Offline

    Junior Member

    Posts: 12
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:France
    #3
    2024-08-08, 07:25 PM
    No the IPv6 is working fine on the host. It is that the jellyfin application only enable IPv4 by default (as I believe).
    Since I don't have any IPv4, I cannot go on the web ui of jellfin to enable IPv6.
    I think that should be a way to enable this setting without the web ui ?

    I found out about a network.xml file, but since it is a fresh install, I feel like it is missing.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #4
    2024-08-08, 07:31 PM (This post was last modified: 2024-08-08, 07:31 PM by TheDreadPirate.)
    Check /etc/jellyfin for the network.xml file. If its not there, here is my file you can use as a template.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <BaseUrl />
      <EnableHttps>false</EnableHttps>
      <RequireHttps>false</RequireHttps>
      <InternalHttpPort>8096</InternalHttpPort>
      <InternalHttpsPort>8920</InternalHttpsPort>
      <PublicHttpPort>8096</PublicHttpPort>
      <PublicHttpsPort>8920</PublicHttpsPort>
      <AutoDiscovery>true</AutoDiscovery>
      <EnableUPnP>false</EnableUPnP>
      <EnableIPv4>true</EnableIPv4>
      <EnableIPv6>true</EnableIPv6>
      <EnableRemoteAccess>true</EnableRemoteAccess>
      <LocalNetworkSubnets />
      <LocalNetworkAddresses />
      <KnownProxies />
      <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
      <VirtualInterfaceNames>
        <string>veth</string>
      </VirtualInterfaceNames>
      <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
      <PublishedServerUriBySubnet />
      <RemoteIPFilter />
      <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
    </NetworkConfiguration>
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    NicoxOne
    Offline

    Junior Member

    Posts: 12
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:France
    #5
    2024-08-08, 07:45 PM
    That's perfect, thank you.
    I could access the web-ui in IPv6 only.

    It might be a good idea to enable IPv6 by default to avoid this hurdle
    « Next Oldest | Next Newest »

    Users browsing this thread:


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode