#include <WireguardBackend.hpp>
Public Member Functions | |
| bool | valid () const |
Public Attributes | |
| std::string | private_key |
| std::vector< std::string > | addresses |
| std::vector< std::string > | dns |
| std::string | listen_port |
| int | mtu = 0 |
| std::vector< WgPeer > | peers |
Definition at line 34 of file WireguardBackend.hpp.
|
inline |
Definition at line 45 of file WireguardBackend.hpp.
References addresses, peers, and private_key.
Referenced by BastionGuard::WireguardBackend::has_spec(), and BastionGuard::validate_spec_().
| std::vector<std::string> BastionGuard::WgTunnelSpec::addresses |
Definition at line 37 of file WireguardBackend.hpp.
Referenced by BastionGuard::WireguardBackend::connect(), BastionGuard::WireguardBackend::load_from_conf(), BastionGuard::WireguardBackend::load_from_params(), valid(), and BastionGuard::validate_spec_().
| std::vector<std::string> BastionGuard::WgTunnelSpec::dns |
Definition at line 38 of file WireguardBackend.hpp.
Referenced by BastionGuard::WireguardBackend::connect(), BastionGuard::WireguardBackend::load_from_conf(), BastionGuard::WireguardBackend::load_from_params(), and BastionGuard::validate_spec_().
| std::string BastionGuard::WgTunnelSpec::listen_port |
Definition at line 39 of file WireguardBackend.hpp.
Referenced by BastionGuard::WireguardBackend::build_wg_setconf_text(), BastionGuard::WireguardBackend::load_from_conf(), BastionGuard::WireguardBackend::load_from_params(), and BastionGuard::validate_spec_().
| int BastionGuard::WgTunnelSpec::mtu = 0 |
Definition at line 40 of file WireguardBackend.hpp.
Referenced by BastionGuard::WireguardBackend::connect(), BastionGuard::WireguardBackend::load_from_conf(), and BastionGuard::validate_spec_().
| std::vector<WgPeer> BastionGuard::WgTunnelSpec::peers |
Definition at line 43 of file WireguardBackend.hpp.
Referenced by BastionGuard::WireguardBackend::build_wg_setconf_text(), BastionGuard::WireguardBackend::configured_endpoint(), BastionGuard::WireguardBackend::connect(), BastionGuard::WireguardBackend::load_from_conf(), BastionGuard::WireguardBackend::load_from_params(), BastionGuard::needs_default_route_(), valid(), and BastionGuard::validate_spec_().
| std::string BastionGuard::WgTunnelSpec::private_key |
Definition at line 36 of file WireguardBackend.hpp.
Referenced by BastionGuard::WireguardBackend::build_wg_setconf_text(), BastionGuard::WireguardBackend::load_from_conf(), BastionGuard::WireguardBackend::load_from_params(), valid(), and BastionGuard::validate_spec_().