pptpd.conf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. ###############################################################################
  2. # $Id: pptpd.conf,v 1.10 2006/09/04 23:30:57 quozl Exp $
  3. #
  4. # Sample Poptop configuration file /etc/pptpd.conf
  5. #
  6. # Changes are effective when pptpd is restarted.
  7. ###############################################################################
  8. # TAG: ppp
  9. # Path to the pppd program, default '/usr/sbin/pppd' on Linux
  10. #
  11. #ppp /usr/sbin/pppd
  12. # TAG: option
  13. # Specifies the location of the PPP options file.
  14. # By default PPP looks in '/etc/ppp/options'
  15. #
  16. option /etc/ppp/options.pptpd
  17. # TAG: debug
  18. # Turns on (more) debugging to syslog
  19. #
  20. #debug
  21. # TAG: stimeout
  22. # Specifies timeout (in seconds) on starting ctrl connection
  23. #
  24. # stimeout 10
  25. # TAG: noipparam
  26. # Suppress the passing of the client's IP address to PPP, which is
  27. # done by default otherwise.
  28. #
  29. #noipparam
  30. # TAG: logwtmp
  31. # Use wtmp(5) to record client connections and disconnections.
  32. #
  33. logwtmp
  34. # TAG: bcrelay <if>
  35. # Turns on broadcast relay to clients from interface <if>
  36. #
  37. #bcrelay eth1
  38. # TAG: delegate
  39. # Delegates the allocation of client IP addresses to pppd.
  40. #
  41. # Without this option, which is the default, pptpd manages the list of
  42. # IP addresses for clients and passes the next free address to pppd.
  43. # With this option, pptpd does not pass an address, and so pppd may use
  44. # radius or chap-secrets to allocate an address.
  45. #
  46. #delegate
  47. # TAG: connections
  48. # Limits the number of client connections that may be accepted.
  49. #
  50. # If pptpd is allocating IP addresses (e.g. delegate is not
  51. # used) then the number of connections is also limited by the
  52. # remoteip option. The default is 100.
  53. #connections 100
  54. # TAG: localip
  55. # TAG: remoteip
  56. # Specifies the local and remote IP address ranges.
  57. #
  58. # These options are ignored if delegate option is set.
  59. #
  60. # Any addresses work as long as the local machine takes care of the
  61. # routing. But if you want to use MS-Windows networking, you should
  62. # use IP addresses out of the LAN address space and use the proxyarp
  63. # option in the pppd options file, or run bcrelay.
  64. #
  65. # You can specify single IP addresses seperated by commas or you can
  66. # specify ranges, or both. For example:
  67. #
  68. # 192.168.0.234,192.168.0.245-249,192.168.0.254
  69. #
  70. # IMPORTANT RESTRICTIONS:
  71. #
  72. # 1. No spaces are permitted between commas or within addresses.
  73. #
  74. # 2. If you give more IP addresses than the value of connections,
  75. # it will start at the beginning of the list and go until it
  76. # gets connections IPs. Others will be ignored.
  77. #
  78. # 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
  79. # you must type 234-238 if you mean this.
  80. #
  81. # 4. If you give a single localIP, that's ok - all local IPs will
  82. # be set to the given one. You MUST still give at least one remote
  83. # IP for each simultaneous client.
  84. #
  85. # (Recommended)
  86. #localip 192.168.0.1
  87. #remoteip 192.168.0.234-238,192.168.0.245
  88. # or
  89. #localip 192.168.0.234-238,192.168.0.245
  90. #remoteip 192.168.1.234-238,192.168.1.245