Home Explore Blog Models CI



nixpkgs

1st chunk of `nixos/modules/services/networking/gns3-server.md`
fff3ee5c63d07bf6e8cda2d96332afe6fb61845586b700d5000000010000025d
# GNS3 Server {#module-services-gns3-server}

[GNS3](https://www.gns3.com/), a network software emulator.

## Basic Usage {#module-services-gns3-server-basic-usage}

A minimal configuration looks like this:

```nix
{
  services.gns3-server = {
    enable = true;

    auth = {
      enable = true;
      user = "gns3";
      passwordFile = "/var/lib/secrets/gns3_password";
    };

    ssl = {
      enable = true;
      certFile = "/var/lib/gns3/ssl/cert.pem";
      keyFile = "/var/lib/gns3/ssl/key.pem";
    };

    dynamips.enable = true;
    ubridge.enable = true;
    vpcs.enable = true;
  };
}
```

Title: GNS3 Server Configuration
Summary
This document introduces GNS3, a network software emulator, and provides a minimal Nix configuration example for setting up a GNS3 server. The example demonstrates how to enable the server, configure user authentication with a specified user and password file, enable SSL using provided certificate and key files, and activate core components like dynamips, ubridge, and vpcs.