Environment Introduction 1. the vpn Server has two NICs connected to the Internet. The ip address 10.1.24.39 connected to the Intranet is 192.168.0.12. A client 10.1.26.78 on the Internet connects to the vpn through the Internet and allocates an intranet address of the company. try to ping the IP address of the vpn Intranet to see if it can access the CIDR Block 192.168.0.0/24. install the software and check whether the ppp module has been loaded. Generally, after the software is installed, it will automatically
Environment Introduction
1. the vpn Server has two NICs connected to the Internet. The ip address 10.1.24.39 connected to the Intranet is 192.168.0.1.
2. A client 10.1.26.78 on the Internet connects to the vpn through the Internet and allocates an intranet address of the company.
3. ping the IP address of the vpn Intranet to see if it can access the CIDR Block 192.168.0.0/24.
Server Configuration
1. install the software and check whether the ppp module has been loaded. Generally, the software is automatically loaded after installation.
2. Specify the network adapter ip address of the vpn Server and the ip address range allocated to the client by the vpn Server.
Vi/etc/pptpd. conf
3. Create a vpn dialing account and password and whether to specify the Client IP Address
Vi/etc/ppp/chap-secrets
4. Enable nat address translation and route forwarding
5. Start the server
6. Check the NIC configuration of the server.
Client Configuration
1. Check the NIC configuration of the client.
2. Start establishing a vpn connection
Check server logs and network card status
Check the NIC status of the Client