Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WgConfigObject

Defines the WireGuard config for this node

Hierarchy

  • WgConfigObject

Implemented by

Index

Properties

Optional peers

peers: WgConfigPeer[]

An array of VPN settings for remote peers

Optional preSharedKey

preSharedKey: string

A place to keep the preSharedKey key for this node Usefull when saving this config somewhere where you need to generate peers in future

Optional publicKey

publicKey: string

A place to keep the public key for this node Usefull when saving this config somewhere where you can't generate the public key

Note: the private key for this node should be kept in interface.privateKey

wgInterface

wgInterface: WgConfigInterface

Defines the VPN settings for the local node.

Generated using TypeDoc