Skip to content

Scallion Network: OpenVPN Connect app compatibility (.ovpn entry gateway) #389

Open

Description

@ralyodio

Goal

Support OpenVPN Connect as an optional first-party client for the c0mpute Scallion Network, using a standard OpenVPN-compatible entry gateway and an importable .ovpn connection profile. The gateway bridges authenticated VPN packets into future secure Scallion multihop circuits.

OpenVPN Connect speaks the OpenVPN protocol, not libp2p, Tor/Scallion circuits, SOCKS5, or WireGuard. A bare route planner (#383) and peer discovery (#384) cannot accept connections from the OpenVPN app.

User experience target

  1. On iOS, Android, Windows, macOS or Linux, install a compatible OpenVPN client.
  2. Import a generated Scallion.ovpn profile whose endpoint is an authorized Scallion OpenVPN entry gateway.
  3. Authenticate the client using a unique short-lived credential/certificate, then transport only explicitly permitted applications/IP traffic over a layered-encrypted, independently operated Scallion circuit.
  4. Make system DNS and IPv4/IPv6 routes fail closed for full-tunnel mode, or provide documented split-tunnel semantics. Test reconnection and IP roaming. Never re-route already established arbitrary TCP sessions through a different exit unless the protocol genuinely preserves them; session continuity requires existing circuit lease/drain and higher-level resumption.
  5. The user can inspect actual entry/exit trust boundaries and see a precise privacy/security disclaimer; an entry gateway sees the connecting source IP.

Technical implementation order (not complete)

  • Implement and independently security-review actual Scallion encrypted multihop data plane (Scallion Network: implement and validate opt-in encrypted multi-hop transport #386). A working OpenVPN server is not a substitute for Scallion circuits.
  • Implement an opt-in, resource-bounded OpenVPN protocol entry-server adapter with audited implementations, TLS client auth, forward-secret keys, anti-replay, per-client quotas, and explicit operator consent.
  • Define TUN/IP packet carriage over the secure Scallion circuit, MTU handling, packet fragmentation, congestion and loss behavior, session isolation, protected exits and NAT/return paths. Avoid OpenVPN-over-TCP inside multi-hop TCP when a UDP dataplane can be used safely.
  • Generate a correct .ovpn profile from authenticated, operator-selected gateway information. Never embed shared long-term keys in public download URLs.
  • Support Android/iOS and desktop imports; create multi-client E2E tests using stock OpenVPN Connect and Community Edition clients; test captive portal, UDP blocked networks and reconnects.
  • Validate no direct traffic fallback, no DNS leaks, private-network/metadata SSRF blocking, IPv6 behavior, no unauthorized open proxy and failure-mode safe shutdown.
  • Measure throughput, connect time, power overhead, long-lived session interruption and actual performance under rotating new circuits; report real measurements rather than promising faster than Tor.
  • Complete independent privacy review, compliance scoping for regulated services, and signed cross-platform release before claiming production support.

Source

OpenVPN Connect: import a .ovpn profile
OpenVPN Connect protocol compatibility

Related: #383, #384, #386, #387, #388.

Boundary: This issue requests legitimate, general-purpose privacy technology, not circumvention of export controls, sanctions, or service-mandated KYC. No production OpenVPN gateway, IP tunnel, or privacy feature is live just by creating this issue.

Activity

  1. ralyodio commented on Nov 15, 2026

    @ralyodio
    CollaboratorAuthor

    Update: Opened PR #390 to establish independent native and openvpn client modes, CLI readiness diagnostics, and a hardened OpenVPN profile-construction primitive. Both modes are explicitly marked NOT READY because no Scallion encrypted data plane, native TUN or OpenVPN gateway exists yet. The create_openvpn_profile API requires a trusted provisioned gateway and does not output private credentials or enable routes. End-to-end stock OpenVPN Connect imports, DNS/killswitch leakage tests, and an opt-in gateway remain pending here. Please do not treat the PR as functional OpenVPN compatibility until those exist.

  2. ralyodio commented on Nov 25, 2026

    @ralyodio
    CollaboratorAuthor

    Status, 2026-11-25. No change to OpenVPN compatibility itself: there is still no OpenVPN gateway, no TUN carriage and no .ovpn download, and c0mpute scallion doctor --mode openvpn reports not ready.

    What moved is the dependency this issue waits on (first checkbox, #386):

    The order in this issue still holds: the Scallion data plane, a SOCKS5 client and leak tests come before the OpenVPN entry gateway, and the gateway before any profile is handed out. Nothing in this issue is unblocked until #386 has real multi-node circuits.

    🤖 Generated with Claude Code

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