Detailed explanation of PPTP server configuration options

Source: Internet
Author: User

Detailed explanation of PPTP server configuration options
GuideThe format of the PPTP server configuration file is similar to that of many other Unix programs. Each line contains a configuration item starting with the configuration option name followed by the parameter values or keywords, which are separated by spaces. When reading the configuration file, the pptpd process ignores empty lines and comments after each line. The configuration of the PPTP server is relatively simple. There are only 12 configuration options in total. The following describes these options in detail:Option File

option option-file

Function: Specifies an option file, which serves as the command line parameter when the pptpd process is started. It works the same as specifying a parameter using the -- option when executing the pptpd command.

Prevent DoS Attacks
stimeout seconds

Function: derives the pptpctrl process to process client connections. The time of the PPTP package on the client is measured in seconds. The default value is 10 seconds. This option is mainly used to prevent DoS attacks.

Start debugging mode
debug

Function: Start the debugging mode.

Broadcast packet relay function
bcrelay internal-interface

Function: whether to enable the broadcast packet relay function. If enabled, the broadcast package received from the internal-interface is forwarded to the client.

Restrict Client Connection
connections n

Function: restrict the number of client connections. The default value is 100. If pptpd assigns an IP address to the client, the client connection cannot be established after the address is split.

IP Address Allocation
delegate

Function: by default, this item does not exist. In this case, the pptpd Process manages the allocation of IP addresses and distributes the next IP address to the client. If this option exists, the pptpd process is not responsible for IP Address allocation. The pptp process corresponding to the client uses radius or chap-secrets for allocation.

Specify local IP Address
localip ip-specification

Function: the IP address used by the local end of the PPP connection tunnel. If only one is specified, the corresponding server address of all clients is the address; otherwise, each client must correspond to a different server address. After the server address is used up, the client connection will be rejected. If the delegate option is used, this item is invalid.

Assign a remote IP Address
remoteip ip-specification

Function: Specify the IP address assigned to the remote client. Each connected client must be assigned an IP address. It must be compatible with the connecyions option. If the delegate option is used, this item is invalid.

Original Client IP Address Transfer
noipparam

Function: by default, the original ip address of the client is passed to the ip-up script. If this option exists, it is not passed.

Network interface IP Address
listen ip-address

Function: Specify the IP address of the local network interface. The pptpd process only listens to the PPTP connection of this network interface. All local interfaces are monitored by default.

PID File
pidfile pid-file

Function: specify the location and file name of the PID file of the process.

PPTP connection speed
speed speed

Function: Specify the PPTP connection speed. The default value is 115200bps. In Linux, this option is invalid.

Address: http: // http://www.linuxprobe.com/pptp-setup-server.html


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.