id: d177154bdee84c378e4f97c92e72d7f0
parent_id: 
item_type: 1
item_id: f115367d4a5c41a2a3be55dd2a5ca64c
item_updated_time: 1764345468197
title_diff: "[{\"diffs\":[[1,\"QNAP反代解决docker不支持ipv6 - molezz BAR\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":34}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>QNAP反代解决docker不支持ipv6 - molezz BAR</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"2227\\\"></a>\\\r\\\n<h1>QNAP反代解决docker不支持ipv6 - molezz BAR</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div style=\\\"font-size: 16px; display:flex; min-width: 100%; position: relative;\\\"><div style=\\\"box-sizing: border-box; text-size-adjust: 100%; tab-size: 4; font-variation-settings: normal; -webkit-tap-highlight-color: transparent;\\\"><div style=\\\"box-sizing: border-box; background-color: rgb(245, 245, 244);\\\"><div style=\\\"box-sizing:border-box;border-radius:4px;background-color:rgb(255, 255, 255);\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;display:flex;flex-direction:column;row-gap:48px;\\\"><div style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);\\\"></div><div style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);margin-left:4px;margin-right:4px;display:flex;flex-direction:column;\\\"><div style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);\\\"></div><div style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);display:flex;flex-direction:row;\\\"><div style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);margin-right:12px;display:flex;flex:1 1 0%;flex-direction:column;justify-content:center;row-gap:20px;\\\"><h1 style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); margin: 0px; font-size: 24px; letter-spacing: 0.03em;\\\"><span style=\\\"font-size: 24px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 32px; color: rgb(0, 0, 0); font-weight: 600;\\\">QNAP反代解决docker不支持ipv6</span></h1><div style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235);\\\"><a href=\\\"https://molezz.net/category/network/\\\" style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5;\\\">网络</a></span> <span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(115, 115, 115);\\\">·</span> <span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(115, 115, 115);\\\">2023-06-05</span> <span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(115, 115, 115);\\\">·</span> <span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(115, 115, 115);\\\">2545 人浏览</span></div></div><div><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); width: 170px;\\\"><img src=\\\"QNAP反代解决docker不支持ipv6 - molezz BAR_files/images\\\" type=\\\"image/jpeg\\\" data-filename=\\\"images\\\" style=\\\"box-sizing:border-box;border-width:0px;border-style:solid;border-color:rgb(229, 231, 235);display:block;vertical-align:middle;max-width:100%;border-radius:4px;object-fit:cover;height:130px;width:170px;\\\" width=\\\"130\\\"/></span></div></div></div><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); text-size-adjust: 100%; margin: 0px; background-color: rgb(255, 255, 255); font-size: 16px; overflow-wrap: break-word;\\\"><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); margin: 0px 0px 16px;\\\"><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.8em; color: rgb(23, 23, 23);\\\">原先架设了一个emby方便老人看电视，以前一直是局域网，没有问题， 最近因为一些原因需要换个地方继续看，考虑到移动一直支持ipv6，觉得会比较方便，但是实际发现ddns的ipv6+端口无法访问。</span></div><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); margin: 0px 0px 16px;\\\"><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.8em; color: rgb(23, 23, 23);\\\">排查了各种映射和端口，emby后台，直接输入ipv6都无法解决，最后发现原来是port只是映射了tcp4，而qnap中的container station和virtual switch也不支持开启docker内的v6映射。原打算通过haproxy或者socat转发，最后通过qnap自带的reverse proxy反向代理服务暂时解决。</span></div><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); margin: 0px 0px 16px;\\\"><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.8em; color: rgb(23, 23, 23);\\\">打开qnap的控制面板找到代理的服务设置，切换到反向代理标签，添加即可，域名可以用ddns的，目标填本地localhost即可，端口自行设定。</span></div><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); list-style-type: disc;\\\"><div><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(23, 23, 23);\\\">设置控制面板</span></div><div><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(23, 23, 23);\\\"><img src=\\\":/dcf7038581ac4f9a9aad86d33f8e7dd9\\\" type=\\\"image/webp\\\" data-filename=\\\"Image.webp\\\" style=\\\"border-width:0px;border-color:rgb(229, 231, 235);display:block;vertical-align:middle;height:auto;background-color:rgb(255, 255, 255);box-sizing:content-box;border-style:none;max-width:100%;\\\" title=\\\"Snipaste_2023-06-05_14-57-09\\\" width=\\\"716\\\"/></span></div></div><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: rgb(229, 231, 235); list-style-type: disc; margin-top: 0.25em;\\\"><div><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(23, 23, 23);\\\">add详细设定</span></div><div><span style=\\\"font-size: 16px; font-family: HarmonyOS-Sans, sans-serif; font-feature-settings: normal; line-height: 1.5; color: rgb(23, 23, 23);\\\"><img src=\\\":/f33982ba08c940f7a206b4bb7384b669\\\" type=\\\"image/webp\\\" data-filename=\\\"Image.webp\\\" style=\\\"border-width:0px;border-color:rgb(229, 231, 235);display:block;vertical-align:middle;height:auto;background-color:rgb(255, 255, 255);box-sizing:content-box;border-style:none;max-width:100%;\\\" title=\\\"2\\\" width=\\\"588\\\"/></span></div></div></div></div></div></div></div></div></div><div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":7355}]"
metadata_diff: {"new":{"id":"f115367d4a5c41a2a3be55dd2a5ca64c","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345755063,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:12:55.180Z
created_time: 2025-11-28T16:12:55.180Z
type_: 13