Skip to content

[Feature request]: Enable sendThrough for freedom protocol in V2rayConfigTemplateService #9284

@narfa0215

Description

@narfa0215

相关问题

ShouldApplySendThrough currently ignores the freedom (direct) protocol, so sendThrough does not apply. I suggest changing the condition to allow direct connections to use interface binding.

描述你希望的解决方案

Change the condition in ShouldApplySendThrough from:

if (outbound.protocol is "freedom" or "blackhole" or "dns" or "loopback")
{
    return false;
}

to:

if (outbound.protocol is "blackhole" or "dns" or "loopback")
{
    return false;
}

This allows freedom (direct) connections to use sendThrough for interface binding.

描述你所考虑的替代方案

No response

我确认已查询历史issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions