Pango Platform
HomeConsole
  • What is Pango Developer Platform
  • Getting started
    • Sign up on the Management Console
    • Create a new project
    • Switch projects
    • Change console settings
    • Edit your profile
    • Try out the demo app
    • Keep exploring
    • Deprecation and Sunset
  • Console details
    • Dashboard
      • General
      • Location loading
    • Users
      • User page
    • Active sessions
    • Network
      • Countries
      • Locations
      • Pools
        • Optimal location
        • Location rules
    • Settings
      • General
        • Project config description (JSON format)
          • Server selector (JSON format)
          • Request selector (JSON format)
      • Authentication methods
        • Auth Plugin requirements
      • VPN
        • General
        • VPN Bypass list
        • Client Networks
      • Member
    • Export Data
    • Log
  • SDK
    • Unified VPN SDK for Android
      • Setup
        • Application Setup
        • Proguard Rules, Notification, and Analytics Configurations
        • Backend URL Configuration
      • Usage
        • Initialization
        • VPN Interface
        • Backend interface
      • Features
        • Hydra Protocol
          • Location profile (Hydra only)
        • Custom sdk dependencies
        • Deferred VPN Service Initialization
        • Authentication
        • Client Network List (CNL)
        • OpenVPN transport
        • Wireguard Transport
        • Reconnection strategy
        • Single Protocol SDK
        • Killswitch
        • Domain route via VPN
        • Process route via VPN
        • Process Bypass
        • Domain Bypass
        • Traffic rules
        • VPN Node DNS Configuration
        • Multihop
          • Optimal Location
      • Exceptions
      • Version migration
      • Changelog
    • Unified VPN SDK for Apple
      • Setup
        • Application Setup
        • Network Extension Setup
          • Network Extension Setup for tvOS
        • Backend URL Configuration
      • Usage
        • Single Protocol SDK
        • Unified SDK
        • Logging
        • Decoding Encoded VPN SDK Logs
      • Features
        • Deferred VPN Service Initialization
        • Authentication
        • Wireguard Transport
        • Reconnection strategy
        • Killswitch
        • Domain Bypass
        • Multihop
          • Optimal Location
        • Client Network List (CNL)
        • Domain route via VPN
      • Changelog
      • API Reference
    • IPSEC VPN SDK for Apple
    • Unified VPN SDK for Windows
      • Setup
        • Backend URL Configuration
        • Service command line arguments
        • ARM Platform Support
      • Usage
        • CoreAPI
        • Events
        • Generating a Unique Device Identifier
        • Error processing
        • Pipe Messaging
      • Features
        • Traffic protection
          • Killswitch
          • Prevent IP Leaks
          • Block Local Networks
        • Other
          • Firewall
            • DNS Monitor
            • Process Bypass
            • Domain Bypass
            • Process route via VPN
            • Domain route via VPN
          • Throttling
          • Optimal Location
          • Common issues
        • Hydra Protocol
          • CustomDNS, UserDNS, MultiHop, VpnProfiles
        • OpenVPN Protocol
        • Wireguard Protocol
        • IPSec Protocol
      • Collecting Debug Logs
      • Changelog
    • Unified VPN SDK for Routers
      • SDK. Shared library.
      • Configuration Interface (CI)
        • Unix Domain Sockets CI
        • REST API CI
    • Unified VPN SDK Feature Comparison By Platform
    • Unified VPN SDK
      • Features
        • Personal Bridge
    • Tunnel Vision and Tunnel Crack Prevention
  • REST API
    • Partner API
  • Sample applications
    • Unified VPN SDK demo for Windows
    • Hydra VPN SDK demo for iOS
    • IPSEC VPN SDK demo for iOS
    • Unified VPN SDK demo for Android
    • Hydra VPN SDK demo for OpenWRT
    • OpenVPN configuration file
  • Resources
    • Use cases
      • Public VPN
      • Business VPN
        • Creating a Business VPN Project
        • Wi-Fi Security for Business
      • Application anti-blocking
    • How-to
      • Create a Firebase project for User Authentication
      • AWS CloudFront Distribution of the Platform URL
      • How can I get Shared Secret key from iTunes Connect for In-App Purchase
  • FAQ
    • General
      • VPN Platform Flow
      • What data is collected by the Platform?
      • What analytic data is collected by your SDK?
      • How the Platform restricts access to our data?
      • Why DNS Leak tests often indicate positive result?
      • Do we need to perform endpoint health checks?
      • How is the VPN exit node found?
      • How are streams re-marked if VPN is enabled/disabled on an active flow?
      • Is there a maximum number of supported devices?
      • Are both IPv4 and IPv6 supported?
      • What is the MTU of the tunnel?
      • Are any redundancy measures in terms of reliability provided?
      • Is there any load balancing?
      • Do you block broadcast and multicast to/from the VPN?
    • List of Open Source libs
Powered by GitBook
On this page

Was this helpful?

  1. SDK
  2. Unified VPN SDK for Windows
  3. Setup

Service command line arguments

UnifiedSDK service command line arguments with details

  1. [--help][-?][/?] - print short help about available options.

  2. [--ArgumentsFilePath][-af] "c:\service.cfg" - load parameters from the specified arguments file.

JSON file schema:

{
  "ServiceConfigurationFilePath": string,
  "InstallService": string,
  "UninstallService": "string,
  "ServiceDataPath": string,
  "LogFilePath": string,
  "LogLevel": string,
  "CommandPipeName": string,
  "EventPipeName": string,
  "BinaryToolsSubdirectory": string
  "AllowedClientExeDirectories": string,
  "AllowedClientExePaths": string,
  "AllowedAdminOnly": string,
  "AllowedPipeSddlSids": string,
  "AllowedPipeKnownSids": string,
  "DynamicPipeNamesRegistryKeyPath": string,
  "NetFilterDriverName": string,
  "SetServicePermissionsForInteractiveUser": bool
}

Or you can use the same names with command line agruments:

{
  "configure": string,
  "install": string,
  "uninstall": "string,
  "data": string,
  "log_file": string,
  "log_level": string,
  "cmd": string,
  "event": string,
  "tools": string,
  "perm_dir": string,
  "perm_exe": string,
  "perm_admin": bool,
  "perm_sddl": string,
  "perm_known": string,
  "dynamic": string,
  "netfilter": string,
  "perm_service_iu": bool
}

Fill free to combine configuration file with other command line arguments.

E.g. you can put all configuration settings into the file but call service exe with -i argument.

UnifiedSDK.Service.exe -i "ServiceName" -cf "c:\service.cfg"

  1. [-install][-i] "ServiceName" - command to install UnifiedSDK service on machine. During execution will be created file with service executable name with configuration and UnifiedSDK service executable will be registered as windows service with name ServiceName.

Additional optional arguments can be used for detailed configuration:

  • [-configure] "<file path>" - specify path to the configuration file.

Can be used as separate command without [-install][-i] to create a configuration file with specified settings.

  • [-ll] "Error" - minimum logging level. Available values: Trace - low level logs from system components. Debug - raw requests and responses. Information - execution tracing without any details. Error - default value, only execution errors that break standard behavior. Critical - there is no Critical log records and this level can be used to avoid any logging. However, log file will be created.

Note, that we don't encrypt data in logs and Debug level should not be used in PROD.

  • [-lf] "c:\ProgramData\MyApp\logs\service.log" - path to the log file. Archive files will be stored in the subfolder archives. By default: <DATA folder>\logs.

  • [-data][-d] "c:\ProgramData\MyApp\\" - path to the DATA folder, by default c:\ProgramData\UnifiedSDK.Service\. UnifiedSDK service stores some temporary files and logs there.

  • [-cmd][-c] "CommandPipeName" - command pipe name. By default: UnifiedSDKVPNCommandPipe.

  • [-event][-e] "EventPipeName" - event pipe name. By default: UnifiedSDKVPNEventPipe.

  • [-tools][-t] "\Executables" - relative path to the subfolder with tunnel clients executables. If you use this option then all executables should be located into folders \Executables\x64 and \Executables\x86. By default each tunnel client is placed in a separate folder.

  • [-perm_dir][-pd] "<path 1>;<path 2>;<path n>" - specify semicolon-separated folders where can be placed executable files of the client applications. Connections to the command and event pipes from other folders will be rejected.

  • [-perm_exe][-pe] "<path 1>;<path 2>;<path n>" - specify semicolon-separated paths to the client executable files. Connections to the command and event pipes from other executable files will be rejected.

  • [-perm_sddl][-ps] "<sddl 1>;<sddl 2;<sddl n>" - specify security identifiers in the SDDL format to permit connections to the command and event pipes. F. e. S-1-5-18 for SYSTEM account.

  • [-perm_admin][-pa] - flag that enables pipe access only for local administrator, built-in administrator and SYSTEM accounts.

  • [-dynamic][-dpn] "reg path" - activate dynamic pipe names mode and specify registry path to the key where will be stored actual pipe names for this session. New pipe names will be generated every time when SDK service is starting.

  • [-configure] "<file path>" - create the configuration file by path with specified settings. It uses the same arguments with [-install][-i] command.

  • [-psiu] true - grant interactive users permissions to start and stop the service.

  1. [-uninstall][-u] "ServiceName" - stop and remove windows service with name "ServiceName" .

  2. [-run][-r] "config file path" - run the SDK service with the specified config file path. The config file can be generated by using the -configure option.

PreviousBackend URL ConfigurationNextARM Platform Support

Last updated 1 month ago

Was this helpful?

[-perm_known][-pe] "WellKnownSidType1;WellKnownSidType2;WellKnownSidTypeN" - specify well known security identifiers to permit connections to the command and event pipes. List of available values can be found there: .

[-netfilter][nf] "driver name" - specify the NetFilter SDK driver name to use by the service. If this parameter is not specified, the VPN SDK service will work without NetFilter and thus some features like firewall (route via VPN, bypass) will not be available. For the list of the features, see the .

https://learn.microsoft.com/en-us/dotnet/api/system.security.principal.wellknownsidtype?view=net-8.0
Firewall article