networking.greTunnels
This option allows you to define Generic Routing Encapsulation (GRE) tunnels.
- Type
attribute set of (submodule)- Default
{ }- Example
{ greBridge = { remote = "10.0.0.1"; local = "10.0.0.22"; dev = "enp4s0f0"; type = "tap"; ttl = 255; }; gre6Tunnel = { remote = "fd7a:5634::1"; local = "fd7a:5634::2"; dev = "enp4s0f0"; type = "tun6"; ttl = 255; }; }- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>