QUIC

Section [QUIC]

QUIC.Port: int = 443

Maps to quic.QuicServerConfig.quic_port

Defines the port on which the QUIC server instance listens.

Note

Currently, only a single QUIC server instance can be configured. Support for multiple instances is not available.

QUIC.TargetSMBHost: int

Maps to quic.QuicServerConfig.quic_smb_host

Specifies the address or hostname of the target SMB server to which connections are forwarded. By default, the server forwards to the internal SMB service on port 445.

QUIC.TargetSMBPort: int = 445

Maps to quic.QuicServerConfig.quic_smb_port

Specifies the port number of the target SMB server for forwarding purposes. If not set, the default is port 445.

QUIC.Cert: str

Maps to quic.QuicServerConfig.quic_cert_path. May also be set in [Globals]

Specifies the absolute or relative path to the TLS certificate file. This setting is required.

QUIC.Key: str

Maps to quic.QuicServerConfig.quic_cert_key. May also be set in [Globals]

Specifies the path to the private key file corresponding to the provided TLS certificate. This setting is required.

Python Config

class quic.QuicServerConfig

Represents the configuration for a single QUIC server instance.

quic_port: int = 443

Corresponds to QUIC.Port

quic_smb_host: str | None = None

Corresponds to QUIC.TargetSMBHost

quic_smb_port: int = 445

Corresponds to QUIC.TargetSMBPort

quic_cert_path: str

Corresponds to QUIC.Cert.

quic_cert_key: str

Corresponds to QUIC.Key.

Default Configuration

QUIC configuration section (default values)
1[QUIC]
2Port = 443
3# Server startup will fail if the following files are not specified
4Cert = "default.cert"
5Key = "default.key"