MyNixOS website logo
option

services.udp-over-tcp.tcp2udp

Mapping of TCP listening ports to UDP forwarding ports or configurations.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  "0.0.0.0:443" = {
    forward = "127.0.0.1:51820";
    openFirewall = true;
  };
  "0.0.0.0:444" = {
    threads = 2;
    forward = "127.0.0.1:51821";
    bind = "127.0.0.1";
    recvBufferSize = 16384;
    sendBufferSize = 16384;
    recvTimeout = 10;
    fwmark = 1337;
    nodelay = true;
  };
}