vlmcsd.ini 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #
  2. #
  3. # Sample vlmcsd.ini
  4. #
  5. # An ini file for vlmcsd is normally not required. It is for advanced users only.
  6. # vlmcsd uses an ini file only if specified using the -i option in the command line parameters.
  7. # There is no default ini file because vlmcsd is designed to run on many platforms.
  8. #
  9. # Every line starting with a number sign (#) or semicolon (;) is treated as a comment.
  10. # If a key word is used more than once, the last occurrence is used. The only exception
  11. # to this is Listen. You can use Listen=<ip address>[:port] more than once.
  12. #
  13. # Set ePID/HwId for Windows explicitly
  14. ;Windows = 06401-00206-471-111111-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  15. # Set ePID for Office 2010 (including Visio and Project) explicitly
  16. ;Office2010 = 06401-00096-199-222222-03-1033-9600.0000-3622014
  17. # Set ePID/HwId for Office 2013 (including Visio and Project) explicitly
  18. ;Office2013 = 06401-00206-234-333333-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  19. # Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
  20. ;Office2016 = 06401-00206-437-444444-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
  21. # Use a compatible VPN device to create a hidden local IPv4 address
  22. # Command line: -O
  23. # VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]
  24. # Use VPN adapter "KMS Mirror" give it IP address 192.168.123.100 with a lease duration of one day and make entire 192.168.128.x a hidden local IPv4 address.
  25. ;VPN = KMS Mirror=192.168.123.100/24:1d
  26. # Use custom TCP port
  27. # Command line: -P
  28. # ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
  29. # ***Use Listen otherwise
  30. ;Port = 1234
  31. # Listen on all IPv4 addresses (default port 1688)
  32. # Command line: -L
  33. # Does not work with MS RPC or simple sockets, use Port=
  34. ;Listen = 0.0.0.0:1688
  35. # Listen on all IPv6 addresses (default port 1688)
  36. # Command line: -L
  37. ;Listen = [::]:1688
  38. # Listen on all private IP addresses and reject incoming requests from public IP addresses
  39. # Command line: -o
  40. # PublicIPProtectionLevel = 3
  41. # Allow binding to foreign IP addresses
  42. # Command line: -F0 and -F1
  43. ;FreeBind = true
  44. # Randomize ePIDs at program start up (only those that are not explicitly specified)
  45. # Command line: -r
  46. ;RandomizationLevel = 1
  47. # Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
  48. # Command line: -C
  49. ;LCID = 1033
  50. # Set a maximum of 4 workers (forked processes or threads)
  51. # Command line: -m
  52. ;MaxWorkers = 4
  53. # Disconnect users after 30 seconds of inactivity
  54. # Command line: -t
  55. ;ConnectionTimeout = 30
  56. # Disconnect clients immediately after each request
  57. # Command line: -d and -k
  58. ;DisconnectClientsImmediately = yes
  59. # Write a pid file (a file containing the process id of vlmcsd)
  60. # Command line: -p
  61. ;PidFile = /var/run/vlmcsd.pid
  62. # Load a KMS data file
  63. # Command line: -j
  64. ;KmsData = /etc/vlmcsd.kmd
  65. # Write log to /var/log/vlmcsd.log
  66. # Command line: -l (-e and -f also override this directive)
  67. ;LogFile = /var/log/vlmcsd.log
  68. # Don't include date and time in logs (default is true)
  69. # Command line: -T0 and -T1
  70. ;LogDateAndTime = false
  71. # Create a verbose log
  72. # Command line: -v and -q
  73. ;LogVerbose = true
  74. # Whitelist known products
  75. # Command line: -K0, -K1, -K2, -K3
  76. ;WhiteListingLevel = 0
  77. # Check that the client time is within +/- 4 hours of the system time
  78. # Command line: -c0, -c1
  79. ;CheckClientTime = false
  80. # Maintain a list of CMIDs
  81. # Command line: -M0, -M1
  82. ;MaintainClients = false
  83. # Start with empty CMID list (Requires MaintainClients = true)
  84. # Command line: -E0, -E1
  85. ;StartEmpty = false
  86. # Set activation interval to 2 hours
  87. # Command line: -A
  88. ;ActivationInterval = 2h
  89. # Set renewal interval to 7 days
  90. # Command line: -R
  91. ;RenewalInterval = 7d
  92. # Run program as user vlmcsduser
  93. # Command line: -u
  94. ;user = vlmcsduser
  95. # Run program as group vlmcsdgroup
  96. # Command line: -g
  97. ;group = vlmcsdgroup
  98. # Disable or enable the NDR64 transfer syntax in RPC (default enabled)
  99. # Command line: -N0 and -N1
  100. ;UseNDR64 = true
  101. # Disable or enable bind time feature negotiation in RPC (default enabled)
  102. # Command line: -B0 and -B1
  103. ;UseBTFN = true