MtlsTunnel.Cloudflare 0.1.0-alpha.1

This is a prerelease version of MtlsTunnel.Cloudflare.
dotnet add package MtlsTunnel.Cloudflare --version 0.1.0-alpha.1
                    
NuGet\Install-Package MtlsTunnel.Cloudflare -Version 0.1.0-alpha.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MtlsTunnel.Cloudflare" Version="0.1.0-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MtlsTunnel.Cloudflare" Version="0.1.0-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="MtlsTunnel.Cloudflare" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MtlsTunnel.Cloudflare --version 0.1.0-alpha.1
                    
#r "nuget: MtlsTunnel.Cloudflare, 0.1.0-alpha.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MtlsTunnel.Cloudflare@0.1.0-alpha.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MtlsTunnel.Cloudflare&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MtlsTunnel.Cloudflare&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Tool

MtlsTunnel.Cloudflare

Optional composition for .NET 10, depending on MtlsTunnel.WebSockets and transitively MtlsTunnel. Call CloudflareTransport.CreateConnector(new CloudflareOptions { Endpoint = new Uri("wss://sql.example.com") }) and assign the result to TunnelOptions.TransportConnector. Configure the shared gateway mTLS identity separately.

The application needs neither a client cloudflared process nor a sidecar. The server uses its operator-managed Cloudflare Tunnel with TCP origin tcp://gateway:8443. Cloudflare Access and service tokens are not required by this deployment or its sample. This is not an official Cloudflare client.

Public WSS trust, gateway mTLS trust/name, and SQL TLS trust/name are three independent identities. A public hostname does not replace the gateway certificate's expected name. Long-lived Cloudflare session behavior has not been fully characterized. Narrow final RemoteCloseHandshakeMissing warning classification preserves active failure handling.

Complete examples: private repository samples/dotnet/Cloudflare, docs/dotnet-sdk.md. Built and executed on Linux x64/.NET 10; other platforms/AOT/trimming remain unvalidated. Source: https://bitbucket.org/remixed2/mssql-cloudflare

dotnet add package MtlsTunnel.Cloudflare --version 0.1.0-alpha.1

Alpha release by doothejob. Licensing is declared in the package metadata.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.1 59 9/21/2026

Initial alpha with direct TCP, optional WebSocket and Cloudflare layers, strict mTLS validation, bounded relay and typed final-close diagnostics.