|
1. 检查内网是否可以pingv6 通路由器v6地址 ; 内网是否可以用ipv6访问通群晖护着jellyfin
2. 外网(有ipv6)是否可以ping 通路由器v6地址 ; 外网是否可以用ipv6访问通群晖护着jellyfin
3. 检查火墙和端口转发(如果有设置)
我的火墙供参考:
- #### 以下在火墙规则后
- # web
- ip6tables -A INPUT -p tcp --dport xx -j ACCEPT
- ip6tables -A OUTPUT -p tcp --sport xx -j ACCEPT
- # RDP
- ip6tables -A INPUT -p tcp --dport xx -j ACCEPT
- ip6tables -A OUTPUT -p tcp --dport xx -j ACCEPT
- ip6tables -A INPUT -p udp --dport xx -j ACCEPT
- ip6tables -A OUTPUT -p udp --dport xx -j ACCEPT
- # 群晖首页
- ip6tables -A INPUT -p tcp --dport xx -j ACCEPT
- ip6tables -A OUTPUT -p tcp --dport xx -j ACCEPT
- ip6tables -A INPUT -p udp --dport xx -j ACCEPT
- ip6tables -A OUTPUT -p udp --dport xx -j ACCEPT
- # Jellyfin / Emby
- ip6tables -A INPUT -p tcp --dport 18097 -j ACCEPT
- ip6tables -A OUTPUT -p tcp --dport 18097 -j ACCEPT
- ip6tables -A INPUT -p udp --dport 18097 -j ACCEPT
- ip6tables -A OUTPUT -p udp --dport 18097 -j ACCEPT
- # 监听 + 转发
- nohup socat TCP6-LISTEN:10808,reuseaddr,fork TCP4:192.168.2.1:80 &
- nohup socat UDP6-LISTEN:10808,reuseaddr,fork UDP4:192.168.2.1:80 &
- nohup socat TCP6-LISTEN:10702,reuseaddr,fork TCP4:192.168.2.154:10702 &
- nohup socat UDP6-LISTEN:10702,reuseaddr,fork UDP4:192.168.2.154:10702 &
- nohup socat TCP6-LISTEN:55500,reuseaddr,fork TCP4:192.168.2.139:55500 &
- nohup socat UDP6-LISTEN:55500,reuseaddr,fork UDP4:192.168.2.139:55500 &
- nohup socat TCP6-LISTEN:18097,reuseaddr,fork TCP4:192.168.2.139:8097 &
- nohup socat UDP6-LISTEN:18097,reuseaddr,fork UDP4:192.168.2.139:8097 &
- logger -t "■dynv6" "IPv6 监听+转发 OK"
复制代码 |
|