收起左侧

fnos自带的内网穿透无法访问jellyfin

3
回复
541
查看
[ 复制链接 ]

2

主题

5

回帖

0

牛值

江湖小虾

2025-8-25 19:48:42 显示全部楼层 阅读模式
悬赏1飞牛币未解决

如题,最近在长期出差的酒店没有ipv6所以想尝试以下fnos自带的内网穿透,试了几个其他服务包括fnos管理界面和ani-rss、qbitorrent都能正常使用,就jellyfin不行,请问有大佬可以帮忙看一下原因嘛,jellyfin的docker-compose长这样:

services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    # user: uid:gid
    # user: 1000:1001
    user: 0:0
    network_mode: 'host'
    # mount GPU
    devices:
      - /dev/dri:/dev/dri
    # add the render group to container
    group_add:
      - 105
    # give highest priority to access GPU
    # privileged: true
    volumes:
      - ./config:/config
      - ./cache:/cache
      - type: bind
        source: /vol2/1000/FNNas1
        target: /media
      - type: bind
        source: /vol1/1000/temp
        target: /media2

      # Optional - extra fonts to be used during transcoding with subtitle burn-in
      - type: bind
        source: ./fonts
        # target: /usr/local/share/fonts/custom
        target: /usr/share/fonts
        read_only: true      
      # Optional - extra fonts to be used during transcoding with subtitle burn-in
      - type: bind
        source: ./fallback_fonts
        target: /fallback_fonts
        read_only: true
      
    restart: 'unless-stopped'
    # restart: 'always'
    # Optional - alternative address used for autodiscovery
    environment:
      - TZ=Asia/Shanghai
      - HTTP_PROXY=http://host.docker.internal:7890
      - HTTPS_PROXY=http://host.docker.internal:7890
    #   - JELLYFIN_PublishedServerUrl=http://example.com
    # Optional - may be necessary for docker healthcheck to pass if running in host network mode
    extra_hosts:
      - 'host.docker.internal:host-gateway'
      - 'api.themoviedb.org:18.173.219.85'
      - 'api.themoviedb.org:18.173.219.98'
      - 'api.themoviedb.org:18.173.219.5'
      - 'api.themoviedb.org:18.173.219.124'
      - 'image.tmdb.org:185.93.1.242'
      - 'api.thetvdb.org:192.241.234.54'
      - 'www.themoviedb.org:18.164.124.68'
      - 'www.themoviedb.org:18.164.124.119'
      - 'www.themoviedb.org:18.164.124.80'
      - 'www.themoviedb.org:18.164.124.21'
      - 'api.bgm.tv:104.26.9.23'
      - 'api.bgm.tv:172.67.73.67'
      - 'api.bgm.tv:104.26.8.23'
    # 添加jellyfin-danmaku plugin
    # entrypoint: sed -i 's#</div></body>#</div><script src=\"https://jellyfin-danmaku.pages.dev/ede.user.js\" defer></script></body>#' /jellyfin/jellyfin-web/index.html && exec /jellyfin/jellyfin
    entrypoint: sh -c "sed -i 's#</div></body>#</div><script src=\"https://jellyfin-danmaku.pages.dev/ede.user.js\" defer></script></body>#' /jellyfin/jellyfin-web/index.html && exec /jellyfin/jellyfin"
    # entrypoint: ["/bin/bash"]
    # tty: true
    # stdin_open: true


收藏
送赞
分享

5

主题

131

回帖

0

牛值

系统先锋体验团🛩️

2025-8-26 00:24:09 显示全部楼层

使用中继插件啊.在外网就可以访问应用

用了,其他服务都行只有jellyfin显示无服务  详情 回复
2025-8-26 09:00

2

主题

5

回帖

0

牛值

江湖小虾

2025-8-26 09:00:35 楼主 显示全部楼层
4857971 发表于 2025-8-26 00:24
使用中继插件啊.在外网就可以访问应用

用了,其他服务都行只有jellyfin显示无服务

2

主题

5

回帖

0

牛值

江湖小虾

2025-8-26 15:27:38 楼主 显示全部楼层

试了一下,改成端口映射就能用了,离谱

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则