Skip to content

Tunneling DeekSeek??? #177

Closed
Closed

Description

@Shjpr9

Hey there,
Why we need to handle Deepseek traffic and spend our requests on it when it is already whitelisted and accessible with normal networks?
Maybe we can directly fetch Deepseek's traffic.

Edit:
Also Github traffic can be handled directly.
The releases downloading still not work directly so it should be handled through proxy:
release-assets.githubusercontent.com

Activity

  1. dazzling-no-more commented on Apr 25, 2026

    @dazzling-no-more
    Contributor

    which mode are you using?

  2. therealaleph commented on Apr 25, 2026

    @therealaleph
    Owner

    Good observation — both your suggestions are exactly what passthrough_hosts is for. It already exists, just needs a small config tweak on your end.

    Background: v1.2.13 added passthrough_hosts (closes #39, #127) — a config field that lists hostnames which should bypass the Apps Script relay entirely and go direct (or via upstream_socks5 if set). Highest dispatch priority — wins over apps_script, google_only, and full mode.

    To pass DeepSeek + GitHub release-asset traffic direct:

    In config.json:

    {
      "passthrough_hosts": [
        ".deepseek.com",
        "release-assets.githubusercontent.com",
        ".objects.githubusercontent.com"
      ]
    }

    Format:

    • "example.com" — exact match only
    • ".example.com" — leading dot = matches example.com AND any subdomain (most useful for CDNs)

    In the desktop UI: Advanced → passthrough_hosts field (one per line). On Android the field exists in the config save format too, just edit config.json for now (UI editor for it is on the queue).

    Why we don't add a default whitelist for "things accessible without relay":

    The "what's accessible directly" set varies by ISP, by country, by the day. DeepSeek isn't blocked in Iran (your case) but blocked elsewhere. GitHub releases are blocked in some networks but accessible in others. We can't ship a one-size-fits-all default — it'd hurt users whose ISPs block these. passthrough_hosts puts the choice with the user, which is the right place for it.

    Re @dazzling-no-more's question — once you add the entries above and switch the relevant traffic to passthrough, mode (apps_script / full / google_only) becomes irrelevant for those specific hosts. They go direct regardless.

    If after adding them DeepSeek / GitHub still hit the relay, double-check:

    • File saved + app restarted
    • Live logs shows dispatch <host>:443 -> raw-tcp (passthrough) lines for those hosts
    • The hostname in the URL matches the entry (especially leading-dot vs exact)

    Closing — solution exists. If it doesn't work for you after configuring, reopen with the log line you see for release-assets.githubusercontent.com requests.


    [reply via Anthropic Claude | reviewed by @therealaleph]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions