pptpd.conf 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. ###############################################################################
  2. # $Id: pptpd.conf,v 1.11 2011/05/19 00:02:50 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: vrf <vrfname>
  35. # Switches PPTP & GRE sockets to the specified VRF, which must exist
  36. # Only available if VRF support was compiled into pptpd.
  37. #
  38. #vrf test
  39. # TAG: bcrelay <if>
  40. # Turns on broadcast relay to clients from interface <if>
  41. #
  42. #bcrelay eth1
  43. # TAG: delegate
  44. # Delegates the allocation of client IP addresses to pppd.
  45. #
  46. # Without this option, which is the default, pptpd manages the list of
  47. # IP addresses for clients and passes the next free address to pppd.
  48. # With this option, pptpd does not pass an address, and so pppd may use
  49. # radius or chap-secrets to allocate an address.
  50. #
  51. #delegate
  52. # TAG: connections
  53. # Limits the number of client connections that may be accepted.
  54. #
  55. # If pptpd is allocating IP addresses (e.g. delegate is not
  56. # used) then the number of connections is also limited by the
  57. # remoteip option. The default is 100.
  58. #connections 100
  59. # TAG: localip
  60. # TAG: remoteip
  61. # Specifies the local and remote IP address ranges.
  62. #
  63. # These options are ignored if delegate option is set.
  64. #
  65. # Any addresses work as long as the local machine takes care of the
  66. # routing. But if you want to use MS-Windows networking, you should
  67. # use IP addresses out of the LAN address space and use the proxyarp
  68. # option in the pppd options file, or run bcrelay.
  69. #
  70. # You can specify single IP addresses seperated by commas or you can
  71. # specify ranges, or both. For example:
  72. #
  73. # 192.168.0.234,192.168.0.245-249,192.168.0.254
  74. #
  75. # IMPORTANT RESTRICTIONS:
  76. #
  77. # 1. No spaces are permitted between commas or within addresses.
  78. #
  79. # 2. If you give more IP addresses than the value of connections,
  80. # it will start at the beginning of the list and go until it
  81. # gets connections IPs. Others will be ignored.
  82. #
  83. # 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
  84. # you must type 234-238 if you mean this.
  85. #
  86. # 4. If you give a single localIP, that's ok - all local IPs will
  87. # be set to the given one. You MUST still give at least one remote
  88. # IP for each simultaneous client.
  89. #
  90. # (Recommended)
  91. #localip 192.168.0.1
  92. #remoteip 192.168.0.234-238,192.168.0.245
  93. # or
  94. #localip 192.168.0.234-238,192.168.0.245
  95. #remoteip 192.168.1.234-238,192.168.1.245