allow user to specify arbitrary allowed IP networks in allowManaged
This commit is contained in:
parent
9a475eeff9
commit
8f2a42d1ad
4 changed files with 60 additions and 9 deletions
|
@ -20,6 +20,7 @@
|
|||
#define ZT_ONESERVICE_HPP
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
|
@ -65,6 +66,12 @@ public:
|
|||
*/
|
||||
bool allowManaged;
|
||||
|
||||
/**
|
||||
* Whitelist of addresses that can be configured by this network.
|
||||
* If empty and allowManaged is true, allow all private/pseudoprivate addresses.
|
||||
*/
|
||||
std::vector<InetAddress> allowManagedWhitelist;
|
||||
|
||||
/**
|
||||
* Allow configuration of IPs and routes within global (Internet) IP space?
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue