diff --git a/frontend/src/pages/inbounds/InboundFormModal.new.tsx b/frontend/src/pages/inbounds/InboundFormModal.new.tsx index ea2072c8..1ff34ae5 100644 --- a/frontend/src/pages/inbounds/InboundFormModal.new.tsx +++ b/frontend/src/pages/inbounds/InboundFormModal.new.tsx @@ -336,6 +336,60 @@ export default function InboundFormModalNew({ const protocolTab = ( <> + {protocol === Protocols.TUNNEL && ( + <> + + + + + + + + + + + {(fields, { add, remove }) => ( + <> + + + + {fields.length > 0 && ( + + {fields.map((field, idx) => ( + + {String(idx + 1)} + + + + + + + + + ))} + + )} + + )} + + + + + + )} + {(protocol === Protocols.HTTP || protocol === Protocols.MIXED) && ( <> @@ -572,6 +626,7 @@ export default function InboundFormModalNew({ Protocols.SHADOWSOCKS, Protocols.HTTP, Protocols.MIXED, + Protocols.TUNNEL, ] as string[]).includes(protocol) ? [{ key: 'protocol', label: t('pages.inbounds.protocol'), children: protocolTab }] : []),