opnsense_wireguard_server (Data Source)

Server resources can be used to setup Wireguard servers.

Schema

Required

  • id (String) UUID of the resource.

Read-Only

  • disable_routes (Boolean) Disables installation of routes.
  • dns (Set of String) The interface specific DNS servers.
  • enabled (Boolean) Whether this server is enabled.
  • gateway (String) The gateway IP here when using Disable Routes feature.
  • instance (String) The instance number to give the wg interface a unique name (wgX).
  • mtu (Number) The interface MTU for this interface. Set to -1 to use the MTU from main interface.
  • name (String) Name of the server.
  • peers (Set of String) List of peer IDs for this server.
  • port (Number) The fixed port for this instance to listen on. The standard port range starts at 51820.
  • private_key (String, Sensitive) Private key of this server.
  • public_key (String) Public key of this server.
  • tunnel_address (Set of String) List of addresses to configure on the tunnel adapter.