letmein.conf 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # letmein client configuration.
  2. [GENERAL]
  3. # This config section holds general options.
  4. # Enable debugging.
  5. #
  6. # Possible values: true, false
  7. debug = true
  8. # The control port that letmein will connect to.
  9. # This is the public internet facing port of the daemon.
  10. #
  11. # Possible values: Any valid TCP/IP port.
  12. port = 5800
  13. # Timeout (in seconds) for receiving and sending messages on the control port.
  14. # If the timeout is exceeded, the TCP connection will be aborted.
  15. #
  16. # Possible values: A positive number of seconds.
  17. control-timeout = 5.0
  18. # Turn the Linux seccomp feature on.
  19. #
  20. # Possible values: off, log, kill
  21. #
  22. # off: Seccomp turned off.
  23. # log: Seccomp turned off, but access of prohibited syscalls will be logged to syslog.
  24. # kill: Seccomp turned on. Letmein will be killed if prohibited syscalls are called.
  25. seccomp = off
  26. [CLIENT]
  27. # This config section holds the client configuration.
  28. # The default user-id to use, if none is explicitly given via -u | --user option.
  29. default-user = 00000001
  30. [KEYS]
  31. # This config section holds the table of users with their corresponding keys.
  32. #
  33. # Use command to generate new keys:
  34. # letmein gen-key
  35. # User 00000001:
  36. #00000001 = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  37. # User 00000002:
  38. #00000002 = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  39. [RESOURCES]
  40. # This config section holds the table of knock-able ports.
  41. # Resource ID '1A' maps to TCP port 2000:
  42. #0000001A = port: 2000
  43. # Resource ID '1B' maps to TCP port 3500:
  44. #0000001B = port: 3500
  45. # A resource can be restricted to one or more users.
  46. # Restricted to users 1 and 2:
  47. #0000001C = port: 4500 / users: 00000001, 00000002
  48. # Restricted to user 1:
  49. #0000001D = port: 5500 / users: 00000001
  50. # Open port 6500 for TCP and UDP.
  51. #0000001E = port: 6500 / tcp,udp