Use VPN through NetworkManager under Fedora

Source: Internet
Author: User
I. background for security considerations, the management IP addresses of all network devices in the lab are set in the lab Intranet and connected to the campus network through routers. Therefore, to remotely configure devices in the lab, you must first enter the Intranet. The above factors have been taken into account when designing the lab network, so we purchased a router TL-R478 with VPN functionality. The VPN configuration of the vro is not described here. I have configured PPTPVPN on this vro. The following uses PPTP as an example. 2. The desktop environment I use is Fedora.

I. background

For security considerations, the management IP addresses of all network devices in the lab are set in the lab Intranet and connected to the campus network through routers. Therefore, to remotely configure devices in the lab, you must first enter the Intranet.

The above factors have been taken into account when designing the lab network, so we purchased a router TL-R478 with VPN functionality. The VPN configuration of the vro is not described here. I have configured PPTP VPN on this vro. The following uses PPTP as an example.

Ii. Process

My desktop environment is Fedora 19 XFCE, and Gnome should be similar.

First, install the PPTP client and the PPTP module of NetworkManager.

Sudo yum install NetworkManager-pptp-y

After the installation is complete, click the NetworkManager icon in the tray, click VPN connection-configure VPN, and click Add in the pop-up dialog box.

Select the network type to be added, and select the point-to-point tunnel protocol PPTP as needed.

On the VPN tab, enter the required information. Enter the address of the pptp vpn Server in the gateway. Enter the user name and password as needed.

If the server performs point-to-point encryption (MPPE), you also need to click Advanced and enable point-to-point encryption. The point-to-point encryption option must be checked when accessing the VPN function provided by the TP router. Otherwise, the connection will fail. Pppd [7017]: LCP terminated by peer is displayed in/var/log/messages.

After the configuration is complete, you can save the test.

In this way, the default gateway is set to VPN. If you only want to redirect access from some CIDR blocks, you need to modify the pptp configuration.

For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

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.