mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 16:25:01 +03:00
Cedar/Command: add ProtoOptionsGet and ProtoOptionsSet commands
ProtoOptionsGet command - Lists the options for the specified protocol Help for command "ProtoOptionsGet" Purpose: Lists the options for the specified protocol Description: This command can be used to retrieve the options for a specific protocol. Detailed info (e.g. value type) will be shown. You can change an option's value with the ProtoOptionsSet command. Usage: ProtoOptionsGet [protocol] Parameters: protocol - Protocol name. ProtoOptionsSet command - Sets an option's value for the specified protocol Help for command "ProtoOptionsSet" Purpose: Sets an option's value for the specified protocol Description: This command can be used to change an option's value for a specific protocol. You can retrieve the options using the ProtoOptionsGet command. To execute this command, you must have VPN Server administrator privileges. Usage: ProtoOptionsSet [protocol] [/NAME:option_name] [/VALUE:string/true/false] Parameters: protocol - Protocol name. /NAME - Option name. /VALUE - Option value. Make sure to write a value that is accepted by the specified protocol!
This commit is contained in:
@ -4563,6 +4563,35 @@ CMD_PortsUDPGet_Args PortsUDPGet
|
||||
CMD_PortsUDPGet_Ports UDP ports
|
||||
|
||||
|
||||
# ProtoOptionsSet command
|
||||
CMD_ProtoOptionsSet Sets an option's value for the specified protocol
|
||||
CMD_ProtoOptionsSet_Help This command can be used to change an option's value for a specific protocol. \nYou can retrieve the options using the ProtoOptionsGet command. \nTo execute this command, you must have VPN Server administrator privileges.
|
||||
CMD_ProtoOptionsSet_Args ProtoOptionsSet [protocol] [/NAME:option_name] [/VALUE:string/true/false]
|
||||
CMD_ProtoOptionsSet_[protocol] Protocol name.
|
||||
CMD_ProtoOptionsSet_NAME Option name.
|
||||
CMD_ProtoOptionsSet_VALUE Option value. Make sure to write a value that is accepted by the specified protocol!
|
||||
CMD_ProtoOptionsSet_Prompt_[protocol] Protocol:
|
||||
CMD_ProtoOptionsSet_Prompt_NAME Option:
|
||||
CMD_ProtoOptionsSet_Prompt_VALUE Value:
|
||||
|
||||
|
||||
# ProtoOptionsGet command
|
||||
CMD_ProtoOptionsGet Lists the options for the specified protocol
|
||||
CMD_ProtoOptionsGet_Help This command can be used to retrieve the options for a specific protocol. \nDetailed info (e.g. value type) will be shown. \nYou can change an option's value with the ProtoOptionsSet command.
|
||||
CMD_ProtoOptionsGet_Args ProtoOptionsGet [protocol]
|
||||
CMD_ProtoOptionsGet_[protocol] Protocol name.
|
||||
CMD_ProtoOptionsGet_Prompt_[protocol] Protocol:
|
||||
CMD_ProtoOptionsGet_Column_Name Name
|
||||
CMD_ProtoOptionsGet_Column_Type Type
|
||||
CMD_ProtoOptionsGet_Column_Value Value
|
||||
CMD_ProtoOptionsGet_Column_Description Description
|
||||
|
||||
# ProtoOptions
|
||||
CMD_ProtoOptions_Description_OpenVPN_DefaultClientOption When OpenVPN is compiled without OCC code, it doesn't send the options string to the server. The original OpenVPN server still works, because the configuration is static. SoftEther VPN is heuristic and wants to support as many different configurations as possible. This option allows to define the string that is sent to clients built without OCC code, so that they can successfully connect.
|
||||
CMD_ProtoOptions_Description_OpenVPN_Obfuscation This may help an OpenVPN client bypass firewalls that are aware of the protocol and block it. The same XOR mask has to be applied client-side, otherwise it will not be able to connect with certain obfuscation methods!
|
||||
CMD_ProtoOptions_Description_OpenVPN_ObfuscationMask Mask used to XOR the bytes in the packet (used for certain obfuscation modes).
|
||||
CMD_ProtoOptions_Description_OpenVPN_PushDummyIPv4AddressOnL2Mode There's a bug that manifests under certain circumstances on Linux. It causes the OpenVPN client to disconnect unless the TAP device is UP. This option tells the server to push a dummy IPv4 address (RFC7600) to the client, so that the TAP adapter is forced to be UP.
|
||||
|
||||
# ServerPasswordSet command
|
||||
CMD_ServerPasswordSet Set VPN Server Administrator Password
|
||||
CMD_ServerPasswordSet_Help This sets the VPN Server administrator password. You can specify the password as a parameter. If the password is not specified, a prompt will be displayed to input the password and password confirmation. If you include the password as a parameter, this password will be displayed momentarily on the screen, which poses a risk. We recommend that whenever possible, avoid specifying this parameter and input the password using the password prompt. \nTo execute this command, you must have VPN Server administrator privileges.
|
||||
|
Reference in New Issue
Block a user