Third, the configuration of the vpn server-side (a) modify the master configuration file/etc/pptpd.conf. only need to join the following two lines: the line is the feed localip172.16.195.1remoteip172.16.195.101-200Localip vpn server sets a tunnel ipRemoteip is automatically assigned to the client's IP address range.
(2) to modify the options file/etc/ppp/options.pptpd. need set assigned to the client's DNS, you only need to comment out before ms-dns, became available DNS: ms-dns61.135.154.5ms-dns159.226.240.66 convenience of viewing the debug information, the debug lines preceding comment cancel. Dump the comments cancel before. (3) add account. By editing the file line by line; a/etc/ppp/chap-secrets account row. Row 4 column, which indicates as follows: user name server name password ip no limit on the number of characters — with the Pptpd, if you use another name, you need to modify the file name line options.pptpd content enclosed in double quotation marks, the password cannot contain double quotes * indicates pptpd randomly assigned ip account number and password as clear text, so you will need to set up access permissions. A set of accounts is similar to the following project file: "sery" pptpd "& hds) $ +" * 4, run pptpd. implementation of the command can execute/etc/init.d/pptpd servicepptpdstart or start it. By examining the process, check the system log to determine whether the normal pptpd. 5. client configuration (windows). This should be very easy, no more breath.
No comments:
Post a Comment