[{"data":1,"prerenderedAt":1186},["ShallowReactive",2],{"navigation_docs":3,"-tutorials-client-lolia-frpc-windows-service":567,"-tutorials-client-lolia-frpc-windows-service-surround":1181},[4,9,14,41,272,288,390,525,557,562],{"title":5,"path":6,"stem":7,"icon":8},"首页","\u002Fwhat-is-lolia","01.what-is-lolia","i-lucide-house",{"title":10,"path":11,"stem":12,"icon":13},"文档用法","\u002Fhow-to-read-the-docs","02.how-to-read-the-docs","i-lucide-sparkles",{"title":15,"icon":16,"path":17,"stem":18,"children":19,"page":40},"导览","i-lucide-scroll-text","\u002Foverview","03.overview",[20,25,30,35],{"title":21,"path":22,"stem":23,"icon":24},"入门阅读","\u002Foverview\u002Fintroduction","03.overview\u002F1.introduction","i-lucide-book",{"title":26,"path":27,"stem":28,"icon":29},"安全提示","\u002Foverview\u002Fsecurity","03.overview\u002F2.security","i-lucide-shield-alert",{"title":31,"path":32,"stem":33,"icon":34},"实名认证","\u002Foverview\u002Fkyc","03.overview\u002F3.kyc","i-lucide-user-check",{"title":36,"path":37,"stem":38,"icon":39},"大流量内容","\u002Foverview\u002Fbig-traffic-contents","03.overview\u002F4.big-traffic-contents","i-lucide-zap",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":40},"配置指南","i-lucide-sliders-horizontal","\u002Ftutorials","04.tutorials",[47,59,81,156,166,217,246],{"title":48,"path":49,"stem":50,"children":51,"icon":58},"开始之前","\u002Ftutorials\u002Fbefore-start","04.tutorials\u002F1.before-start\u002F1.index",[52,54],{"title":53,"path":49,"stem":50},"前言",{"title":55,"path":56,"stem":57},"基本操作","\u002Ftutorials\u002Fbefore-start\u002Fbasics","04.tutorials\u002F1.before-start\u002F2.basics","i-lucide-send-horizontal",{"title":60,"icon":61,"path":62,"stem":63,"children":64,"page":40},"面板","i-lucide-panels-top-left","\u002Ftutorials\u002Fdashboard","04.tutorials\u002F2.dashboard",[65,69,73,77],{"title":66,"path":67,"stem":68},"仪表盘","\u002Ftutorials\u002Fdashboard\u002Fmainpage","04.tutorials\u002F2.dashboard\u002F1.mainpage",{"title":70,"path":71,"stem":72},"隧道创建","\u002Ftutorials\u002Fdashboard\u002Fcreate-tunnel","04.tutorials\u002F2.dashboard\u002F2.create-tunnel",{"title":74,"path":75,"stem":76},"隧道管理","\u002Ftutorials\u002Fdashboard\u002Ftunnel-management","04.tutorials\u002F2.dashboard\u002F3.tunnel-management",{"title":78,"path":79,"stem":80},"域名白名单","\u002Ftutorials\u002Fdashboard\u002Fdomain-whitelist","04.tutorials\u002F2.dashboard\u002F4.domain-whitelist",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":40},"客户端教程","i-lucide-laptop","\u002Ftutorials\u002Fclient","04.tutorials\u002F3.client",[87,112,132,144,148,152],{"title":88,"path":89,"stem":90,"children":91,"page":40},"Lolia-CLI","\u002Ftutorials\u002Fclient\u002Flolia-frpc","04.tutorials\u002F3.client\u002F1.lolia-frpc",[92,96,100,104,108],{"title":93,"path":94,"stem":95},"简介","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fintroduction","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F1.introduction",{"title":97,"path":98,"stem":99},"Docker 部署","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fdocker","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F2.docker",{"title":101,"path":102,"stem":103},"systemd 自启动","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fsystemd","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F3.systemd",{"title":105,"path":106,"stem":107},"Windows 服务","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fwindows-service","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F4.windows-service",{"title":109,"path":110,"stem":111},"OpenWrt 自启动","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fopenwrt","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F5.openwrt",{"title":113,"path":114,"stem":115,"children":116,"page":40},"LoliaFrpClient","\u002Ftutorials\u002Fclient\u002Floliafrpclient","04.tutorials\u002F3.client\u002F2.loliafrpclient",[117,120,124,128],{"title":93,"path":118,"stem":119},"\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Fintroduction","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F1.introduction",{"title":121,"path":122,"stem":123},"Windows","\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Fwindows","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F2.Windows",{"title":125,"path":126,"stem":127},"Linux","\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Flinux","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F3.Linux",{"title":129,"path":130,"stem":131},"Android","\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Fandroid","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F4.Android",{"title":133,"path":134,"stem":135,"children":136,"page":40},"LoliaShizuku","\u002Ftutorials\u002Fclient\u002Floliashizuku","04.tutorials\u002F3.client\u002F3.loliashizuku",[137,140],{"title":93,"path":138,"stem":139},"\u002Ftutorials\u002Fclient\u002Floliashizuku\u002Floliashizuku","04.tutorials\u002F3.client\u002F3.loliashizuku\u002F1.loliashizuku",{"title":141,"path":142,"stem":143},"快速入门","\u002Ftutorials\u002Fclient\u002Floliashizuku\u002Fusage","04.tutorials\u002F3.client\u002F3.loliashizuku\u002F2.usage",{"title":145,"path":146,"stem":147},"Kairo","\u002Ftutorials\u002Fclient\u002Fkairo","04.tutorials\u002F3.client\u002F4.kairo",{"title":149,"path":150,"stem":151},"MCSManager FRP模板","\u002Ftutorials\u002Fclient\u002Fmcsm","04.tutorials\u002F3.client\u002F5.mcsm",{"title":153,"path":154,"stem":155},"MSLX 面板插件","\u002Ftutorials\u002Fclient\u002Fmslx","04.tutorials\u002F3.client\u002F6.mslx",{"title":157,"icon":158,"path":159,"stem":160,"children":161,"page":40},"常见应用","i-lucide-toolbox","\u002Ftutorials\u002Fapp","04.tutorials\u002F4.app",[162],{"title":163,"path":164,"stem":165},"RDP 远程桌面","\u002Ftutorials\u002Fapp\u002Frdp","04.tutorials\u002F4.app\u002F1.rdp",{"title":167,"icon":168,"path":169,"stem":170,"children":171,"page":40},"游戏应用","i-lucide-gamepad-2","\u002Ftutorials\u002Fgame","04.tutorials\u002F5.game",[172,213],{"title":173,"path":174,"stem":175,"children":176,"page":40},"Minecraft","\u002Ftutorials\u002Fgame\u002Fminecraft","04.tutorials\u002F5.game\u002F1.minecraft",[177,181,185,189,193,197,201,205,209],{"title":178,"path":179,"stem":180},"Java 版局域网联机","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fmcjavalan","04.tutorials\u002F5.game\u002F1.minecraft\u002F1.mcjavalan",{"title":182,"path":183,"stem":184},"Java 版独立服务器","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fmcjavaserver","04.tutorials\u002F5.game\u002F1.minecraft\u002F2.mcjavaserver",{"title":186,"path":187,"stem":188},"Simple Voice Chat","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fsimplevoicechat","04.tutorials\u002F5.game\u002F1.minecraft\u002F3.simplevoicechat",{"title":190,"path":191,"stem":192},"外置登录联机教程","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fauthlib-injector","04.tutorials\u002F5.game\u002F1.minecraft\u002F4.authlib-injector",{"title":194,"path":195,"stem":196},"基岩版服务器（BDS）","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fbedrock-nethernet","04.tutorials\u002F5.game\u002F1.minecraft\u002F5.bedrock-nethernet",{"title":198,"path":199,"stem":200},"旧版基岩版（RakNet）","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fbedrock-raknet","04.tutorials\u002F5.game\u002F1.minecraft\u002F6.bedrock-raknet",{"title":202,"path":203,"stem":204},"Geyser 互通服","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fgeysermc","04.tutorials\u002F5.game\u002F1.minecraft\u002F7.geysermc",{"title":206,"path":207,"stem":208},"旧版 Geyser（RakNet）","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fgeyser-raknet","04.tutorials\u002F5.game\u002F1.minecraft\u002F8.geyser-raknet",{"title":210,"path":211,"stem":212},"SRV 解析","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fsrv-record","04.tutorials\u002F5.game\u002F1.minecraft\u002F9.srv-record",{"title":214,"path":215,"stem":216},"星露谷物语多人联机","\u002Ftutorials\u002Fgame\u002Fstardew-valley","04.tutorials\u002F5.game\u002F2.stardew-valley",{"title":218,"icon":219,"path":220,"stem":221,"children":222,"page":40},"网页应用","i-lucide-link-2","\u002Ftutorials\u002Fweb","04.tutorials\u002F6.web",[223,226,230,234,238,242],{"title":141,"path":224,"stem":225},"\u002Ftutorials\u002Fweb\u002Fquick-start","04.tutorials\u002F6.web\u002F1.quick-start",{"title":227,"path":228,"stem":229},"DNS 配置","\u002Ftutorials\u002Fweb\u002Fdns-config","04.tutorials\u002F6.web\u002F2.dns-config",{"title":231,"path":232,"stem":233},"Apache","\u002Ftutorials\u002Fweb\u002Fapache","04.tutorials\u002F6.web\u002F3.apache",{"title":235,"path":236,"stem":237},"NGINX","\u002Ftutorials\u002Fweb\u002Fnginx","04.tutorials\u002F6.web\u002F4.nginx",{"title":239,"path":240,"stem":241},"获取访客真实IP","\u002Ftutorials\u002Fweb\u002Fget-realip","04.tutorials\u002F6.web\u002F5.get-realip",{"title":243,"path":244,"stem":245},"雷池WAF","\u002Ftutorials\u002Fweb\u002Fsafeline","04.tutorials\u002F6.web\u002F6.safeline",{"title":247,"icon":248,"path":249,"stem":250,"children":251,"page":40},"进阶配置","i-lucide-file-cog","\u002Ftutorials\u002Fadvanced","04.tutorials\u002F7.advanced",[252,256,260,264,268],{"title":253,"path":254,"stem":255},"配置PROXY protocol","\u002Ftutorials\u002Fadvanced\u002Fproxy-protocol","04.tutorials\u002F7.advanced\u002F1.proxy-protocol",{"title":257,"path":258,"stem":259},"双栈网络配置","\u002Ftutorials\u002Fadvanced\u002Fmixed-v4-v6","04.tutorials\u002F7.advanced\u002F2.mixed-v4-v6",{"title":261,"path":262,"stem":263},"AutoTLS","\u002Ftutorials\u002Fadvanced\u002Fautotls","04.tutorials\u002F7.advanced\u002F3.autotls",{"title":265,"path":266,"stem":267},"多个隧道创建和使用","\u002Ftutorials\u002Fadvanced\u002Fmulti-tunnel","04.tutorials\u002F7.advanced\u002F4.multi-tunnel",{"title":269,"path":270,"stem":271},"使用自己的域名","\u002Ftutorials\u002Fadvanced\u002Fcname","04.tutorials\u002F7.advanced\u002F5.cname",{"title":273,"icon":274,"defaultOpen":40,"path":275,"stem":276,"children":277,"page":40},"开发者","i-lucide-folder-code","\u002Fdevelopers","05.developers",[278,283],{"title":279,"path":280,"stem":281,"icon":282},"LoliaFRP Open API","\u002Fdevelopers\u002Fopenapi","05.developers\u002F1.openapi","i-lucide-webhook",{"title":284,"path":285,"stem":286,"icon":287},"OAuth2 鉴权","\u002Fdevelopers\u002Foauth","05.developers\u002F2.oauth","i-lucide-fingerprint-pattern",{"title":289,"icon":290,"defaultOpen":40,"path":291,"stem":292,"children":293,"page":40},"疑难解答","i-lucide-bug-off","\u002Ftroubleshooting","06.troubleshooting",[294,319,329,338,359,372],{"title":48,"icon":295,"path":296,"stem":297,"children":298,"page":40},"i-lucide-list-checks","\u002Ftroubleshooting\u002Fbefore-start","06.troubleshooting\u002F1.before-start",[299,303,307,311,315],{"title":300,"path":301,"stem":302},"通用问题","\u002Ftroubleshooting\u002Fbefore-start\u002Fgeneral","06.troubleshooting\u002F1.before-start\u002F1.general",{"title":304,"path":305,"stem":306},"如何提问","\u002Ftroubleshooting\u002Fbefore-start\u002Fhow-to-ask-questions","06.troubleshooting\u002F1.before-start\u002F2.how-to-ask-questions",{"title":308,"path":309,"stem":310},"分析日志","\u002Ftroubleshooting\u002Fbefore-start\u002Fread-the-logs","06.troubleshooting\u002F1.before-start\u002F3.read-the-logs",{"title":312,"path":313,"stem":314},"定位问题","\u002Ftroubleshooting\u002Fbefore-start\u002Fclassify-questions","06.troubleshooting\u002F1.before-start\u002F4.classify-questions",{"title":316,"path":317,"stem":318},"平台限制","\u002Ftroubleshooting\u002Fbefore-start\u002Fplatform-limits","06.troubleshooting\u002F1.before-start\u002F5.platform-limits",{"title":320,"icon":321,"path":322,"stem":323,"children":324,"page":40},"客户端故障","i-custom-laptop-off","\u002Ftroubleshooting\u002Fclient","06.troubleshooting\u002F3.client",[325],{"title":326,"path":327,"stem":328},"杀软误报","\u002Ftroubleshooting\u002Fclient\u002Fanti-malware","06.troubleshooting\u002F3.client\u002Fanti-malware",{"title":157,"icon":330,"path":331,"stem":332,"children":333,"page":40},"i-custom-toolbox-off","\u002Ftroubleshooting\u002Fapp","06.troubleshooting\u002F4.app",[334],{"title":335,"path":336,"stem":337},"远程桌面","\u002Ftroubleshooting\u002Fapp\u002Frdp","06.troubleshooting\u002F4.app\u002F1.rdp",{"title":167,"icon":339,"path":340,"stem":341,"children":342,"page":40},"i-custom-gamepad-2-off","\u002Ftroubleshooting\u002Fgames","06.troubleshooting\u002F5.games",[343,347],{"title":344,"path":345,"stem":346},"Stardew Valley","\u002Ftroubleshooting\u002Fgames\u002Fstardew-valley","06.troubleshooting\u002F5.games\u002F2.stardew-valley",{"title":173,"path":348,"stem":349,"children":350,"page":40},"\u002Ftroubleshooting\u002Fgames\u002Fminecraft","06.troubleshooting\u002F5.games\u002Fminecraft",[351,355],{"title":352,"path":353,"stem":354},"Mc Lan","\u002Ftroubleshooting\u002Fgames\u002Fminecraft\u002Fmc-lan","06.troubleshooting\u002F5.games\u002Fminecraft\u002F1.mc-lan",{"title":356,"path":357,"stem":358},"Minecraft Java SRV与forced hosts搭配","\u002Ftroubleshooting\u002Fgames\u002Fminecraft\u002Fminecraft-srv-forced-hosts","06.troubleshooting\u002F5.games\u002Fminecraft\u002F1.minecraft-srv-forced-hosts",{"title":360,"icon":361,"path":362,"stem":363,"children":364,"page":40},"Web 应用","i-lucide-globe-off","\u002Ftroubleshooting\u002Fweb","06.troubleshooting\u002F6.web",[365,368],{"title":231,"path":366,"stem":367},"\u002Ftroubleshooting\u002Fweb\u002Fapache","06.troubleshooting\u002F6.web\u002F1.apache",{"title":369,"path":370,"stem":371},"Nginx","\u002Ftroubleshooting\u002Fweb\u002Fnginx","06.troubleshooting\u002F6.web\u002F2.nginx",{"title":373,"icon":374,"path":375,"stem":376,"children":377,"page":40},"网络问题","i-lucide-wifi-off","\u002Ftroubleshooting\u002Fnetwork","06.troubleshooting\u002F8.network",[378,382,386],{"title":379,"path":380,"stem":381},"无法连接服务器","\u002Ftroubleshooting\u002Fnetwork\u002Fremote","06.troubleshooting\u002F8.network\u002F1.remote",{"title":383,"path":384,"stem":385},"无法连接至本地服务","\u002Ftroubleshooting\u002Fnetwork\u002Flocal","06.troubleshooting\u002F8.network\u002F2.local",{"title":387,"path":388,"stem":389},"网络卡顿","\u002Ftroubleshooting\u002Fnetwork\u002Flags","06.troubleshooting\u002F8.network\u002F3.lags",{"title":391,"icon":392,"defaultOpen":40,"path":393,"stem":394,"children":395,"page":40},"用户手册","i-lucide-book-bookmark","\u002Freferences","07.references",[396,453,480,513],{"title":397,"icon":61,"path":398,"stem":399,"children":400,"page":40},"网页控制台","\u002Freferences\u002Fplatform","07.references\u002F1.platform",[401,404,415,423,440],{"title":66,"path":402,"stem":403},"\u002Freferences\u002Fplatform\u002Fdashboard","07.references\u002F1.platform\u002F1.dashboard",{"title":405,"path":406,"stem":407,"children":408,"page":40},"隧道","\u002Freferences\u002Fplatform\u002Ftunnel","07.references\u002F1.platform\u002F2.tunnel",[409,412],{"title":74,"path":410,"stem":411},"\u002Freferences\u002Fplatform\u002Ftunnel\u002Ftunnel-management","07.references\u002F1.platform\u002F2.tunnel\u002F1.tunnel-management",{"title":70,"path":413,"stem":414},"\u002Freferences\u002Fplatform\u002Ftunnel\u002Fcreate-tunnel","07.references\u002F1.platform\u002F2.tunnel\u002F2.create-tunnel",{"title":416,"path":417,"stem":418,"children":419,"page":40},"域名管理","\u002Freferences\u002Fplatform\u002Fdomain-management","07.references\u002F1.platform\u002F3.domain-management",[420],{"title":78,"path":421,"stem":422},"\u002Freferences\u002Fplatform\u002Fdomain-management\u002Fwhitelist","07.references\u002F1.platform\u002F3.domain-management\u002F1.whitelist",{"title":424,"path":425,"stem":426,"children":427,"page":40},"OAuth","\u002Freferences\u002Fplatform\u002Foauth","07.references\u002F1.platform\u002F4.oauth",[428,432,436],{"title":429,"path":430,"stem":431},"应用管理","\u002Freferences\u002Fplatform\u002Foauth\u002Fapp-management","07.references\u002F1.platform\u002F4.oauth\u002F1.app-management",{"title":433,"path":434,"stem":435},"创建应用","\u002Freferences\u002Fplatform\u002Foauth\u002Fcreate-app","07.references\u002F1.platform\u002F4.oauth\u002F2.create-app",{"title":437,"path":438,"stem":439},"授权管理","\u002Freferences\u002Fplatform\u002Foauth\u002Fauthorizations","07.references\u002F1.platform\u002F4.oauth\u002F3.authorizations",{"title":441,"path":442,"stem":443,"children":444,"page":40},"账户设置","\u002Freferences\u002Fplatform\u002Fsettings","07.references\u002F1.platform\u002F5.settings",[445,449],{"title":446,"path":447,"stem":448},"基础设置","\u002Freferences\u002Fplatform\u002Fsettings\u002Fsettings","07.references\u002F1.platform\u002F5.settings\u002F1.settings",{"title":450,"path":451,"stem":452},"安全性","\u002Freferences\u002Fplatform\u002Fsettings\u002Fsecurity","07.references\u002F1.platform\u002F5.settings\u002F2.security",{"title":454,"icon":455,"path":456,"stem":457,"children":458},"命令行客户端","i-lucide-square-terminal","\u002Freferences\u002Flolia-frpc","07.references\u002F2.lolia-frpc\u002Findex",[459,461,465,469,472,476],{"title":460,"path":456,"stem":457},"概览",{"title":462,"path":463,"stem":464},"启动与连接","\u002Freferences\u002Flolia-frpc\u002Fstartup","07.references\u002F2.lolia-frpc\u002F2.startup",{"title":466,"path":467,"stem":468},"参数与子命令","\u002Freferences\u002Flolia-frpc\u002Fflags","07.references\u002F2.lolia-frpc\u002F3.flags",{"title":261,"path":470,"stem":471},"\u002Freferences\u002Flolia-frpc\u002Fautotls","07.references\u002F2.lolia-frpc\u002F4.autotls",{"title":473,"path":474,"stem":475},"运行与诊断","\u002Freferences\u002Flolia-frpc\u002Fruntime","07.references\u002F2.lolia-frpc\u002F5.runtime",{"title":477,"path":478,"stem":479},"构建与发布","\u002Freferences\u002Flolia-frpc\u002Frelease","07.references\u002F2.lolia-frpc\u002F6.release",{"title":481,"icon":482,"path":483,"stem":484,"children":485,"page":40},"图形化客户端","i-lucide-app-window-mac","\u002Freferences\u002Fgui","07.references\u002F3.gui",[486,502,510],{"title":113,"path":487,"stem":488,"children":489,"page":40},"\u002Freferences\u002Fgui\u002Floliafrpclient","07.references\u002F3.gui\u002F1.loliafrpclient",[490,493,496,499],{"title":93,"path":491,"stem":492},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Fintroduction","07.references\u002F3.gui\u002F1.loliafrpclient\u002F1.introduction",{"title":121,"path":494,"stem":495},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Fwindows","07.references\u002F3.gui\u002F1.loliafrpclient\u002F2.Windows",{"title":125,"path":497,"stem":498},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Flinux","07.references\u002F3.gui\u002F1.loliafrpclient\u002F3.Linux",{"title":129,"path":500,"stem":501},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Fandroid","07.references\u002F3.gui\u002F1.loliafrpclient\u002F4.Android",{"title":133,"path":503,"stem":504,"children":505,"page":40},"\u002Freferences\u002Fgui\u002Floliashizuku","07.references\u002F3.gui\u002F2.loliashizuku",[506],{"title":507,"path":508,"stem":509},"桌面端功能","\u002Freferences\u002Fgui\u002Floliashizuku\u002Fusage","07.references\u002F3.gui\u002F2.loliashizuku\u002F2.usage",{"title":145,"path":511,"stem":512},"\u002Freferences\u002Fgui\u002Fkairo","07.references\u002F3.gui\u002F3.kairo",{"title":514,"icon":515,"path":516,"stem":517,"children":518,"page":40},"面板客户端","i-lucide-app-window","\u002Freferences\u002Fweb","07.references\u002F4.web",[519,522],{"title":149,"path":520,"stem":521},"\u002Freferences\u002Fweb\u002Fmcsm","07.references\u002F4.web\u002F1.mcsm",{"title":153,"path":523,"stem":524},"\u002Freferences\u002Fweb\u002Fmslx","07.references\u002F4.web\u002F2.mslx",{"title":526,"icon":527,"defaultOpen":40,"path":528,"stem":529,"children":530,"page":40},"扩展阅读","i-lucide-school","\u002Fclassroom","08.classroom",[531,535],{"title":93,"path":532,"stem":533,"icon":534},"\u002Fclassroom\u002Fabout","08.classroom\u002F1.about","i-lucide-text-initial",{"title":536,"icon":537,"path":538,"stem":539,"children":540,"page":40},"相关原理","i-lucide-library","\u002Fclassroom\u002Fbasics","08.classroom\u002F2.basics",[541,545,549,553],{"title":542,"path":543,"stem":544},"frp 的工作基础","\u002Fclassroom\u002Fbasics\u002Ffrp-base","08.classroom\u002F2.basics\u002F1.frp-base",{"title":546,"path":547,"stem":548},"TLS 与证书","\u002Fclassroom\u002Fbasics\u002Ftls","08.classroom\u002F2.basics\u002F2.tls",{"title":550,"path":551,"stem":552},"密码学基础","\u002Fclassroom\u002Fbasics\u002Fcrypto","08.classroom\u002F2.basics\u002F3.crypto",{"title":554,"path":555,"stem":556},"HTTP 虚拟主机","\u002Fclassroom\u002Fbasics\u002Fhttp-vhost","08.classroom\u002F2.basics\u002F4.http-vhost",{"title":558,"path":559,"stem":560,"icon":561},"参与贡献","\u002Fcontributing","09.contributing","i-lucide-git-pull-request-arrow",{"title":563,"path":564,"stem":565,"icon":566},"社区","\u002Fcommunity","10.community","i-lucide-users",{"id":568,"title":105,"body":569,"description":1175,"extension":1176,"links":1177,"meta":1178,"navigation":724,"path":106,"seo":1179,"stem":107,"__hash__":1180},"docs\u002F04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F4.windows-service.md",{"type":570,"value":571,"toc":1166},"minimark",[572,596,600,613,631,641,659,679,682,686,790,899,902,911,921,924,927,949,952,961,968,971,1045,1048,1051,1058,1092,1095,1104,1110,1118,1127,1130,1162],[573,574,575,579],"tip",{},[576,577,578],"p",{},"前置知识",[580,581,582,590],"ul",{},[583,584,585,586],"li",{},"教程 - 客户端教程 - ",[587,588,589],"a",{"href":94},"Lolia CLI",[583,591,592,593],{},"配置指南 - 面板 - ",[587,594,595],{"href":71},"创建隧道",[597,598,599],"h2",{"id":599},"准备文件",[576,601,602,603,607,608,612],{},"WinSW 是一个把普通程序包装成 Windows 服务的小工具，提供 .NET 版（",[604,605,606],"code",{},"WinSW.NET462.exe","）和 x64 版，",[609,610,611],"strong",{},"两者的配置格式和命令完全相同","，本文以 .NET 版为例。.NET 版需要 .NET Framework 4.6.2 或更高版本，Windows 10\u002F11 自带 4.8，可以直接使用。",[576,614,615,616,622,623,626,627,630],{},"从 ",[587,617,621],{"href":618,"rel":619},"https:\u002F\u002Fgithub.com\u002Fwinsw\u002Fwinsw\u002Freleases",[620],"nofollow","WinSW Releases"," 下载对应版本，与 ",[604,624,625],{},"frpc.exe"," 放在同一个目录，例如 ",[604,628,629],{},"C:\\loliafrp","：",[632,633,639],"pre",{"className":634,"code":636,"language":637,"meta":638},[635],"language-text","C:\\loliafrp\\\n├── frpc.exe          Lolia CLI\n├── loliafrp.exe      WinSW.NET462.exe 改名而来\n└── loliafrp.xml      服务配置\n","text","",[604,640,636],{"__ignoreMap":638},[576,642,643,644,647,648,650,651,654,655,658],{},"WinSW 要求",[609,645,646],{},"配置文件与可执行文件同名","，所以把 ",[604,649,606],{}," 重命名为 ",[604,652,653],{},"loliafrp.exe","，再在同目录新建 ",[604,656,657],{},"loliafrp.xml","。",[660,661,662,663,666,667,670,671,674,675,678],"note",{},"winsw v2.13.0的构建脚本疑似写错了，如果文件名是 ",[604,664,665],{},"WinSW-x64.exe_Debug"," 或 ",[604,668,669],{},"WinSW-x64.exe_Release","的话，把 ",[604,672,673],{},".exe_Release","改成 ",[604,676,677],{},".exe","，如果您没有看到扩展名，则可能是 Windows 文件资源管理器没有打开显示文件扩展名。",[597,680,681],{"id":681},"编写服务配置",[576,683,684,630],{},[604,685,657],{},[632,687,691],{"className":688,"code":689,"language":690,"meta":638,"style":638},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cservice>\n  \u003Cid>loliafrp\u003C\u002Fid>\n  \u003Cname>LoliaFRP CLI\u003C\u002Fname>\n  \u003Cdescription>Lolia CLI 隧道服务\u003C\u002Fdescription>\n\n  \u003Cexecutable>%BASE%\\frpc.exe\u003C\u002Fexecutable>\n  \u003Carguments>-t 隧道id:节点TOKEN\u003C\u002Farguments>\n  \u003Cworkingdirectory>%BASE%\u003C\u002Fworkingdirectory>\n\n  \u003Cstartmode>Automatic\u003C\u002Fstartmode>\n  \u003Confailure action=\"restart\" delay=\"10 sec\"\u002F>\n  \u003Cresetfailure>1 hour\u003C\u002Fresetfailure>\n\n  \u003Clogpath>%BASE%\\logs\u003C\u002Flogpath>\n  \u003Clog mode=\"append\"\u002F>\n\u003C\u002Fservice>\n","xml",[604,692,693,701,707,713,719,726,732,738,744,749,755,761,767,772,778,784],{"__ignoreMap":638},[694,695,698],"span",{"class":696,"line":697},"line",1,[694,699,700],{},"\u003Cservice>\n",[694,702,704],{"class":696,"line":703},2,[694,705,706],{},"  \u003Cid>loliafrp\u003C\u002Fid>\n",[694,708,710],{"class":696,"line":709},3,[694,711,712],{},"  \u003Cname>LoliaFRP CLI\u003C\u002Fname>\n",[694,714,716],{"class":696,"line":715},4,[694,717,718],{},"  \u003Cdescription>Lolia CLI 隧道服务\u003C\u002Fdescription>\n",[694,720,722],{"class":696,"line":721},5,[694,723,725],{"emptyLinePlaceholder":724},true,"\n",[694,727,729],{"class":696,"line":728},6,[694,730,731],{},"  \u003Cexecutable>%BASE%\\frpc.exe\u003C\u002Fexecutable>\n",[694,733,735],{"class":696,"line":734},7,[694,736,737],{},"  \u003Carguments>-t 隧道id:节点TOKEN\u003C\u002Farguments>\n",[694,739,741],{"class":696,"line":740},8,[694,742,743],{},"  \u003Cworkingdirectory>%BASE%\u003C\u002Fworkingdirectory>\n",[694,745,747],{"class":696,"line":746},9,[694,748,725],{"emptyLinePlaceholder":724},[694,750,752],{"class":696,"line":751},10,[694,753,754],{},"  \u003Cstartmode>Automatic\u003C\u002Fstartmode>\n",[694,756,758],{"class":696,"line":757},11,[694,759,760],{},"  \u003Confailure action=\"restart\" delay=\"10 sec\"\u002F>\n",[694,762,764],{"class":696,"line":763},12,[694,765,766],{},"  \u003Cresetfailure>1 hour\u003C\u002Fresetfailure>\n",[694,768,770],{"class":696,"line":769},13,[694,771,725],{"emptyLinePlaceholder":724},[694,773,775],{"class":696,"line":774},14,[694,776,777],{},"  \u003Clogpath>%BASE%\\logs\u003C\u002Flogpath>\n",[694,779,781],{"class":696,"line":780},15,[694,782,783],{},"  \u003Clog mode=\"append\"\u002F>\n",[694,785,787],{"class":696,"line":786},16,[694,788,789],{},"\u003C\u002Fservice>\n",[791,792,793,806],"table",{},[794,795,796],"thead",{},[797,798,799,803],"tr",{},[800,801,802],"th",{},"配置项",[800,804,805],{},"说明",[807,808,809,820,834,844,858,871,881],"tbody",{},[797,810,811,817],{},[812,813,814],"td",{},[604,815,816],{},"id",[812,818,819],{},"服务标识，安装后即服务名",[797,821,822,827],{},[812,823,824],{},[604,825,826],{},"executable",[812,828,829,830,833],{},"要启动的程序。",[604,831,832],{},"%BASE%"," 表示 WinSW 可执行文件所在目录",[797,835,836,841],{},[812,837,838],{},[604,839,840],{},"arguments",[812,842,843],{},"传给 frpc 的参数",[797,845,846,851],{},[812,847,848],{},[604,849,850],{},"workingdirectory",[812,852,853,854,857],{},"进程工作目录，AutoTLS 的 ",[604,855,856],{},".\u002F.autotls-cache"," 相对它解析",[797,859,860,865],{},[812,861,862],{},[604,863,864],{},"startmode",[812,866,867,870],{},[604,868,869],{},"Automatic"," 表示开机自启",[797,872,873,878],{},[812,874,875],{},[604,876,877],{},"onfailure",[812,879,880],{},"进程异常退出后 10 秒重新拉起",[797,882,883,892],{},[812,884,885,888,889],{},[604,886,887],{},"logpath"," \u002F ",[604,890,891],{},"log",[812,893,894,895,898],{},"frpc 的输出写入该目录，",[604,896,897],{},"append"," 为追加模式",[576,900,901],{},"多个隧道写在同一条参数里：",[632,903,905],{"className":688,"code":904,"language":690,"meta":638,"style":638},"\u003Carguments>-t 隧道1:节点TOKEN1 -t 隧道2:节点TOKEN2\u003C\u002Farguments>\n",[604,906,907],{"__ignoreMap":638},[694,908,909],{"class":696,"line":697},[694,910,904],{},[576,912,913,914,917,918,920],{},"使用配置文件启动时，把参数换成 ",[604,915,916],{},"-c %BASE%\\frpc.toml"," 即可，配置中的相对路径同样以 ",[604,919,850],{}," 为基准。",[597,922,923],{"id":923},"安装并启动",[576,925,926],{},"以管理员身份打开 PowerShell，进入该目录：",[632,928,932],{"className":929,"code":930,"language":931,"meta":638,"style":638},"language-powershell shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","cd C:\\loliafrp\n.\\loliafrp.exe install\n.\\loliafrp.exe start\n","powershell",[604,933,934,939,944],{"__ignoreMap":638},[694,935,936],{"class":696,"line":697},[694,937,938],{},"cd C:\\loliafrp\n",[694,940,941],{"class":696,"line":703},[694,942,943],{},".\\loliafrp.exe install\n",[694,945,946],{"class":696,"line":709},[694,947,948],{},".\\loliafrp.exe start\n",[576,950,951],{},"检查状态：",[632,953,955],{"className":929,"code":954,"language":931,"meta":638,"style":638},".\\loliafrp.exe status\n",[604,956,957],{"__ignoreMap":638},[694,958,959],{"class":696,"line":697},[694,960,954],{},[576,962,963,964,967],{},"也可以使用 ",[604,965,966],{},"Get-Service loliafrp"," 查看。",[597,969,970],{"id":970},"常用操作",[791,972,973,983],{},[794,974,975],{},[797,976,977,980],{},[800,978,979],{},"操作",[800,981,982],{},"命令",[807,984,985,995,1005,1015,1025,1035],{},[797,986,987,990],{},[812,988,989],{},"安装服务",[812,991,992],{},[604,993,994],{},".\\loliafrp.exe install",[797,996,997,1000],{},[812,998,999],{},"启动服务",[812,1001,1002],{},[604,1003,1004],{},".\\loliafrp.exe start",[797,1006,1007,1010],{},[812,1008,1009],{},"停止服务",[812,1011,1012],{},[604,1013,1014],{},".\\loliafrp.exe stop",[797,1016,1017,1020],{},[812,1018,1019],{},"重启服务",[812,1021,1022],{},[604,1023,1024],{},".\\loliafrp.exe restart",[797,1026,1027,1030],{},[812,1028,1029],{},"查看状态",[812,1031,1032],{},[604,1033,1034],{},".\\loliafrp.exe status",[797,1036,1037,1040],{},[812,1038,1039],{},"卸载服务",[812,1041,1042],{},[604,1043,1044],{},".\\loliafrp.exe uninstall",[576,1046,1047],{},"安装与卸载需要管理员权限，卸载前请先停止服务。",[597,1049,1050],{"id":1050},"查看日志",[576,1052,1053,1054,1057],{},"frpc 的日志默认输出到 stdout，由 WinSW 写入 ",[604,1055,1056],{},"logs"," 目录：",[791,1059,1060,1070],{},[794,1061,1062],{},[797,1063,1064,1067],{},[800,1065,1066],{},"文件",[800,1068,1069],{},"内容",[807,1071,1072,1082],{},[797,1073,1074,1079],{},[812,1075,1076],{},[604,1077,1078],{},"loliafrp.out.log",[812,1080,1081],{},"frpc 的 stdout",[797,1083,1084,1089],{},[812,1085,1086],{},[604,1087,1088],{},"loliafrp.err.log",[812,1090,1091],{},"frpc 的 stderr",[597,1093,1094],{"id":1094},"更新客户端",[632,1096,1098],{"className":929,"code":1097,"language":931,"meta":638,"style":638},".\\loliafrp.exe stop\n",[604,1099,1100],{"__ignoreMap":638},[694,1101,1102],{"class":696,"line":697},[694,1103,1097],{},[576,1105,1106,1107,1109],{},"替换 ",[604,1108,625],{}," 后重新启动服务：",[632,1111,1112],{"className":929,"code":948,"language":931,"meta":638,"style":638},[604,1113,1114],{"__ignoreMap":638},[694,1115,1116],{"class":696,"line":697},[694,1117,948],{},[576,1119,1120,1122,1123,1126],{},[604,1121,1056],{}," 与 ",[604,1124,1125],{},".autotls-cache"," 目录不要删除，后者被删除会触发重新申请证书。",[597,1128,1129],{"id":1129},"注意事项",[580,1131,1132,1135,1142,1152],{},[583,1133,1134],{},"快捷启动的配置只在 frpc 启动时拉取一次，在面板修改隧道配置后需要重启服务才会生效。",[583,1136,1137,1138,1141],{},"同一条隧道只能有一个实例在线。注册服务后，不要再手动运行 ",[604,1139,1140],{},"frpc -t ..."," 启动同一条隧道。",[583,1143,1144,1145,1148,1149,1151],{},"frpc 首次登录失败时会退出进程（",[604,1146,1147],{},"loginFailExit"," 默认开启），由 ",[604,1150,877],{}," 在 10 秒后重新拉起；token 失效时会持续重试，日志中可以看到具体错误。",[583,1153,1154,1157,1158,1161],{},[604,1155,1156],{},"\u003Carguments>"," 中的 token 会出现在 xml 和 frpc 进程的命令行中。可以把 xml 的权限限制为仅管理员可读，或改用 ",[604,1159,1160],{},"-c"," 配置文件启动并限制该文件的读取权限。",[1163,1164,1165],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":638,"searchDepth":703,"depth":703,"links":1167},[1168,1169,1170,1171,1172,1173,1174],{"id":599,"depth":703,"text":599},{"id":681,"depth":703,"text":681},{"id":923,"depth":703,"text":923},{"id":970,"depth":703,"text":970},{"id":1050,"depth":703,"text":1050},{"id":1094,"depth":703,"text":1094},{"id":1129,"depth":703,"text":1129},"在 Windows 上使用 WinSW 将 Lolia CLI 注册为系统服务，实现后台运行与开机自启。","md",null,{},{"title":105,"description":1175},"VxRH3hMQn7Gd3JQ4ynwu-BFKUeo4Ql7xRwL5iJN2PvE",[1182,1184],{"title":101,"path":102,"stem":103,"description":1183,"children":-1},"在 Linux 上使用 systemd 托管 Lolia CLI，实现后台运行与开机自启。",{"title":109,"path":110,"stem":111,"description":1185,"children":-1},"在 OpenWrt 路由器上用 procd 托管 Lolia CLI，实现开机自启；空间不足时用 UPX 压缩二进制。",1795152103753]