Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Minimal VPN for Centos7

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report