Skip to content

Sits

networking.sits.<name>.dev

The underlying network device on which the tunnel resides.

Type: null or string

Default

null

Example

"enp4s0f0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.encapsulation

Configures encapsulation in UDP packets.

Type: null or (submodule)

Default

null

Example

{port = 9001;type = "fou";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.encapsulation.port

Destination port for encapsulated packets.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Example

9001

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.encapsulation.sourcePort

Source port for encapsulated packets. Will be chosen automatically by the kernel if unset.

Type: null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

null

Example

9002

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.encapsulation.type

Selects encapsulation type. See {manpage}ip-link(8) for details.

Type: one of "fou", "gue"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.local

The address of the local endpoint which the remote side should send packets to.

Type: null or string

Default

null

Example

"10.0.0.22"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.remote

The address of the remote endpoint to forward traffic over.

Type: null or string

Default

null

Example

"10.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix

networking.sits.<name>.ttl

The time-to-live of the connection to the remote tunnel endpoint.

Type: null or signed integer

Default

null

Example

255

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix