1
0

pptpd.conf 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ###############################################################################
  2. # $Id$
  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/pptpd-options
  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: localip
  39. # TAG: remoteip
  40. # Specifies the local and remote IP address ranges.
  41. #
  42. # Any addresses work as long as the local machine takes care of the
  43. # routing. But if you want to use MS-Windows networking, you should
  44. # use IP addresses out of the LAN address space and use the proxyarp
  45. # option in the pppd options file, or run bcrelay.
  46. #
  47. # You can specify single IP addresses seperated by commas or you can
  48. # specify ranges, or both. For example:
  49. #
  50. # 192.168.0.234,192.168.0.245-249,192.168.0.254
  51. #
  52. # IMPORTANT RESTRICTIONS:
  53. #
  54. # 1. No spaces are permitted between commas or within addresses.
  55. #
  56. # 2. If you give more IP addresses than MAX_CONNECTIONS, it will
  57. # start at the beginning of the list and go until it gets
  58. # MAX_CONNECTIONS IPs. Others will be ignored.
  59. #
  60. # 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
  61. # you must type 234-238 if you mean this.
  62. #
  63. # 4. If you give a single localIP, that's ok - all local IPs will
  64. # be set to the given one. You MUST still give at least one remote
  65. # IP for each simultaneous client.
  66. #
  67. # (Recommended)
  68. #localip 192.168.0.1
  69. #remoteip 192.168.0.234-238,192.168.0.245
  70. # or
  71. #localip 192.168.0.234-238,192.168.0.245
  72. #remoteip 192.168.1.234-238,192.168.1.245