mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-12 10:44:58 +03:00
Cedar/Command: Implement PortsUDPGet and PortsUDPSet commands
PortsUDPSet: This command can be used to specify a single or multiple UDP ports the server should listen on. "0" can be specified to disable the UDP listener. Administrator privileges are required to execute the command. PortsUDPGet: This command can be used to retrieve the UDP ports the server is listening on. The two commands replace the functionality that was previously provided by OpenVpnEnable and OpenVpnGet, respectively.
This commit is contained in:
@ -4530,6 +4530,20 @@ CMD_ListenerDisable_[port] 중지 TCP/IP 리스너의 포트 번호를 정수로
|
||||
CMD_ListenerDisable_PortPrompt 시작하는 TCP/IP 리스너 포트 번호:
|
||||
|
||||
|
||||
# PortsUDPSet command
|
||||
CMD_PortsUDPSet Sets the UDP ports that the server should listen on
|
||||
CMD_PortsUDPSet_Help This command can be used to specify a single or multiple UDP ports the server should listen on. \nYou can specify a port that is used by another process, however the server will not be able to use it until the port becomes free. \nSpecify a port number that is within the range of 1 to 65535. \nYou can list the ports that are currently set with the PortsUDPGet command. \nTo execute this command, you must have VPN Server administrator privileges.
|
||||
CMD_PortsUDPSet_Args PortsUDPSet [ports]
|
||||
CMD_PortsUDPSet_[ports] Multiple UDP ports can be specified by splitting them with a space or a comma, for example: "443, 992, 1194, 5555". \nSpecify "0" to disable the UDP listener. \n\nPorts:
|
||||
|
||||
|
||||
# PortsUDPGet command
|
||||
CMD_PortsUDPGet Lists the UDP ports that the server is listening on
|
||||
CMD_PortsUDPGet_Help This command can be used to retrieve the UDP ports the server is listening on. \nYou can set the ports with the PortsUDPSet command.
|
||||
CMD_PortsUDPGet_Args PortsUDPGet
|
||||
CMD_PortsUDPGet_Ports UDP ports
|
||||
|
||||
|
||||
# ServerPasswordSet 명령
|
||||
CMD_ServerPasswordSet VPN Server 관리자 암호 설정
|
||||
CMD_ServerPasswordSet_Help VPN Server 관리자 암호를 설정합니다. 매개 변수로 암호를 지정 할 수 있습니다. 매개 변수를 지정하지 않으면, 패스워드와 그 확인 입력을위한 프롬프트가 표시됩니다. 비밀번호를 매개 변수로 주었을 경우, 암호가 일시적으로 화면에 표시되기 때문에 위험합니다. 가능한 매개 변수를 지정하지 않고 암호 프롬프트를 사용하여 암호를 입력 할 것을 권장합니다. \n이 명령을 실행하려면 VPN Server 관리자 권한이 있어야합니다.
|
||||
|
Reference in New Issue
Block a user