mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-02-21 10:00:09 +03:00
Cedar/Server: load and save Proto settings
Snippet from the server configuration:
declare root
{
...
declare ServerConfiguration
{
...
declare Proto
{
declare OpenVPN
{
string DefaultClientOption dev-type$20tun,link-mtu$201500,tun-mtu$201500,cipher$20AES-128-CBC,auth$20SHA1,keysize$20128,key-method$202,tls-client
bool Enabled true
bool Obfuscation false
string ObfuscationMask $
bool PushDummyIPv4AddressOnL2Mode true
}
declare SSTP
{
bool Enabled true
}
}
...
}
...
}
This commit is contained in:
@ -418,6 +418,8 @@ void SiLoadServerCfg(SERVER *s, FOLDER *f);
|
||||
void SiWriteGlobalParamsCfg(FOLDER *f);
|
||||
void SiLoadGlobalParamsCfg(FOLDER *f);
|
||||
void SiLoadGlobalParamItem(UINT id, UINT value);
|
||||
void SiLoadProtoCfg(PROTO *p, FOLDER *f);
|
||||
void SiWriteProtoCfg(FOLDER *f, PROTO *p);
|
||||
void SiWriteTraffic(FOLDER *parent, char *name, TRAFFIC *t);
|
||||
void SiWriteTrafficInner(FOLDER *parent, char *name, TRAFFIC_ENTRY *e);
|
||||
void SiLoadTrafficInner(FOLDER *parent, char *name, TRAFFIC_ENTRY *e);
|
||||
|
||||
Reference in New Issue
Block a user