imKobz

Untitled

Aug 23rd, 2020 (edited)
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. ###############################################################################
  2. # $Id$
  3. #
  4. # Sample Poptop PPP options file /etc/ppp/pptpd-options
  5. # Options used by PPP when a connection arrives from a client.
  6. # This file is pointed to by /etc/pptpd.conf option keyword.
  7. # Changes are effective on the next connection. See "man pppd".
  8. #
  9. # You are expected to change this file to suit your system. As
  10. # packaged, it requires PPP 2.4.2 and the kernel MPPE module.
  11. ###############################################################################
  12.  
  13.  
  14. # Authentication
  15.  
  16. # Name of the local system for authentication purposes
  17. # (must match the second field in /etc/ppp/chap-secrets entries)
  18. name pptpd
  19.  
  20. # Optional: domain name to use for authentication
  21. # domain mydomain.net
  22.  
  23. # Strip the domain prefix from the username before authentication.
  24. # (applies if you use pppd with chapms-strip-domain patch)
  25. #chapms-strip-domain
  26.  
  27.  
  28. # Encryption
  29. # (There have been multiple versions of PPP with encryption support,
  30. # choose with of the following sections you will use.)
  31.  
  32.  
  33. # BSD licensed ppp-2.4.2 upstream with MPPE only, kernel module ppp_mppe.o
  34. # {{{
  35. refuse-pap
  36. refuse-chap
  37. refuse-mschap
  38. # Require the peer to authenticate itself using MS-CHAPv2 [Microsoft
  39. # Challenge Handshake Authentication Protocol, Version 2] authentication.
  40. require-mschap-v2
  41. # Require MPPE 128-bit encryption
  42. # (note that MPPE requires the use of MSCHAP-V2 during authentication)
  43. require-mppe-128
  44. # }}}
  45.  
  46. # Network and Routing
  47.  
  48. # If pppd is acting as a server for Microsoft Windows clients, this
  49. # option allows pppd to supply one or two DNS (Domain Name Server)
  50. # addresses to the clients. The first instance of this option
  51. # specifies the primary DNS address; the second instance (if given)
  52. # specifies the secondary DNS address.
  53. # Attention! This information may not be taken into account by a Windows
  54. # client. See KB311218 in Microsoft's knowledge base for more information.
  55. ms-dns 8.8.8.8
  56. ms-dns 8.8.4.4
  57.  
  58. # If pppd is acting as a server for Microsoft Windows or "Samba"
  59. # clients, this option allows pppd to supply one or two WINS (Windows
  60. # Internet Name Services) server addresses to the clients. The first
  61. # instance of this option specifies the primary WINS address; the
  62. # second instance (if given) specifies the secondary WINS address.
  63. #ms-wins 10.0.0.3
  64. #ms-wins 10.0.0.4
  65.  
  66. # Add an entry to this system's ARP [Address Resolution Protocol]
  67. # table with the IP address of the peer and the Ethernet address of this
  68. # system. This will have the effect of making the peer appear to other
  69. # systems to be on the local ethernet.
  70. # (you do not need this if your PPTP server is responsible for routing
  71. # packets to the clients -- James Cameron)
  72. proxyarp
  73.  
  74. # Normally pptpd passes the IP address to pppd, but if pptpd has been
  75. # given the delegate option in pptpd.conf or the --delegate command line
  76. # option, then pppd will use chap-secrets or radius to allocate the
  77. # client IP address. The default local IP address used at the server
  78. # end is often the same as the address of the server. To override this,
  79. # specify the local IP address here.
  80. # (you must not use this unless you have used the delegate option)
  81. #10.8.0.100
  82.  
  83. # Debian: do not replace the default route
  84. nodefaultroute
  85.  
  86.  
  87. # Logging
  88.  
  89. # Enable connection debugging facilities.
  90. # (see your syslog configuration for where pppd sends to)
  91. #debug
  92.  
  93. # Print out all the option values which have been set.
  94. # (often requested by mailing list to verify options)
  95. #dump
  96.  
  97.  
  98. # Miscellaneous
  99.  
  100. # Create a UUCP-style lock file for the pseudo-tty to ensure exclusive
  101. # access.
  102. lock
  103.  
  104. # Disable BSD-Compress compression
  105. nobsdcomp
  106.  
  107. # Disable Van Jacobson compression
  108. # (needed on some networks with Windows 9x/ME/XP clients, see posting to
  109. # poptop-server on 14th April 2005 by Pawel Pokrywka and followups,
  110. # http://marc.theaimsgroup.com/?t=111343175400006&r=1&w=2 )
  111. novj
  112. novjccomp
  113.  
  114. # turn off logging to stderr, since this may be redirected to pptpd,
  115. # which may trigger a loopback
  116. nologfd
  117.  
  118. # put plugins here
  119. # (putting them higher up may cause them to sent messages to the pty)
  120. plugin /usr/lib/pppd/2.4.7/radius.so
  121. plugin /usr/lib/pppd/2.4.7/radattr.so
Add Comment
Please, Sign In to add comment