RedHatEnterpriseLinux5.0: simple VPN Server Construction

Source: Internet
Author: User
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

Related Article

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.