feat(M6): localOnly forward option (loopback→LAN rewrite for cluster, local direct), canvas diff-based create/revoke commands, revoke task semantics, topology derived canvas on sync nodes, LAN addr helper

This commit is contained in:
2026-08-18 09:44:38 +08:00
parent bf602016b4
commit 40980944e5
12 changed files with 364 additions and 13 deletions

View File

@ -27,6 +27,10 @@
<option value="https">https</option>
</select>
</label>
<label class="adv-check">
<input v-model="localOnlyField" type="checkbox" /> 仅本机转发
<span class="hint">(勾选=直接在本机拉起不进集群不勾选=127.0.0.1 替换为本机实际地址交给集群)</span>
</label>
</div>
<div class="adv">
@ -106,6 +110,7 @@ const nameField = field('name')
const ipField = field('ip')
const portField = field('port')
const protocolField = field('protocol')
const localOnlyField = field('localOnly')
const useEncryptionField = field('useEncryption')
const useCompressionField = field('useCompression')
const bandwidthLimitField = field('bandwidthLimit')

View File

@ -13,6 +13,8 @@ export interface Local {
ip: string;
port: number;
protocol: string; // tcp | udp | http | https
// localOnly: forward stays on this node (loopback kept), no cluster.
localOnly?: boolean;
// M1 advanced transport knobs (optional; empty/zero = frpc defaults)
useEncryption?: boolean;