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 Attacksstimeout 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 modedebug
Function: Start the debugging mode.
Broadcast packet relay functionbcrelay 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 Connectionconnections 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 Allocationdelegate
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 Addresslocalip 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 Addressremoteip 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 Transfernoipparam
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 Addresslisten 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 Filepidfile pid-file
Function: specify the location and file name of the PID file of the process.
PPTP connection speedspeed 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