Get the App
SLTechnology News&Howtos  ›  Development  › 

How to configure Minimal VPN for Centos7

Shulou Source: shulou.com Published: 2022-06-01 16:41:17 10月03日 Update

In this article, the editor introduces in detail "how to configure Minimal VPN in Centos7". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to configure Minimal VPN in Centos7" can help you solve your doubts.

Point-to-Point tunneling Protocol (PPTP,Point-to-Point Tunneling Protocol) is a protocol (a set of communication rules) that allows enterprises to expand their corporate networks on public networks through private "tunnels".

Install PPTPyum install-y ppp pptp pptp-setup net-tools psmisc

Description: ppp pptp pptp-setup is pptp client software, net-tools is network toolkit such as ifconfig and route (not included in CentOS minimal), psmisc provides killall command

Configure connection pptpsetup-- create vpn1-- server-- username-- password-- encrypt-- start

The normal startup is as follows:

Using interface ppp0Connect: ppp0 / dev/pts/1CHAP authentication succeededMPPE 128-bit stateless compression enabledlocal IP address 10.1.3.128remote IP address 10.1.3.1 View Network ip addr

Check the network configuration. If you see the configuration of the ppp0 virtual network card, it starts normally. Otherwise, check the VPN connection and check the log information in the / etc/log/messages file.

Add route route add-net 0.0.0.0 dev ppp0

After configuration, it can be verified by ping google.com.

Read here, this article "how to configure Centos7 Minimal VPN" article has been introduced, want to master the knowledge of this article also need everyone to practice and use to understand, if you want to know more related articles, welcome to follow the industry information channel.

Tags: Configuration network article enterprise content tunnel proper information can be passed through commands customers clients that is tools toolkits ideas files new knowledge logs more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi OPPO Reno Linux Shulou Tech Info NVidia