Linux mint pptp client настройка

Setup for Linux Mint 20.2 (Uma)

However, at the popular request of our users, we will continue to support the following locations for users to connect using PPTP, L2TP, and SSTP protocols:

Germany: de1.pointtoserver.com
Netherlands: nl1.pointtoserver.com
United Kingdom: ukl1.pointtoserver.com
United States: usil1.pointtoserver.com
United States: ustx1.pointtoserver.com
United States: usca1.pointtoserver.com
United States: usfl1.pointtoserver.com
United States: usny1.pointtoserver.com
United States: uswdc1.pointtoserver.com
Australia: au-sd1.pointtoserver.com

PureVPN’s setup guide for mint will help you establish a secure internet connection without compromising on your internet speed. You can set up PureVPN on your Linux Mint system using any of the three available protocols.

Things to Consider:

Before you begin, please make sure that:

  • You have a working internet connection
  • Linux Mint Supported Device.
  • A Premium PureVPN account (If you haven’t bought yet click here to buy)

  • Once logged in go to Account & Billing section.

  • On Account and Billing section click on drop-down icon

  • Click on Show/Update VPN password

  • Note down your PureVPN username and click on Eye icon to make your password visible and use it in the manual configuration.

The following instructions outline the setup process for the PPTP connection on Mint 20.2 (Uma):

1 Go to the ‘Terminal’ window and type the following commands one by one:

  • sudo apt-get update
  • sudo apt-get install pptpd

2 Now Select the following options:

  • Click on “Wired Connection“
  • Go to “Network Connections”

3 Click on the ‘+’ icon to add a VPN connection and select ‘Point-to-Point Tunneling Protocol (PPTP)’ option to create a PPTP profile.

4 When new window appear, complete the fields as below:

  • Connection name: PureVPN
  • Gateway: (You can use the servers mentioned in the above provided note.)
  • User name: Your VPN username
  • Password: Your VPN password

Now, go to the ‘Advanced…’ option.

Only check/allow the following options:

Also, select the following:

  • Allow BSD data compression
  • Allow Deflate data compression
  • Use TCP header compression

Click “OK” and then click “Add” button.

5 Now go to the “Wired Connections” option and under “VPN Connections” click on the newly created “PureVPN” connection to activate the VPN connection.

You are connected now!

The following instructions outline the setup process for L2TP connection on Mint 20.2 (Uma):

1 Go to the ‘Terminal’ window and install L2TP Type the following commands one by one:

  1. sudo apt-get update
  2. sudo apt-get install xl2tpd
  3. sudo apt-get install network-manager-l2tp
  4. sudo apt-get install network-manager-l2tp-gnome
Читайте также:  Драйвера для мфу samsung scx 3400 для windows 10

2 Now Select the following options:

  • Click on “Wired Connection“
  • Go to “Network Connections”

3 Click on the ‘+’ icon to add a VPN connection and select ‘Layer 2 Tunneling Protocol (L2TP)’ option to create a L2TP

4 When new window appear, complete the fields as below:

  • Connection name: PureVPN
  • Gateway: (You can use the servers mentioned in the above provided note.)
  • User name: Your VPN username
  • Password: Your VPN password

Now, go to the ‘IPsec Settings…’ button.

Check the ‘Enable Ipsec tunnel to IPsec host’

Pre-share key: 12345678

Under the Advanced section, specific the connection algorithms:

  • Phase 1 algorithms: 3des-sha1-modp1024
  • Phase 2 algorithms: 3des-sha1

Now, go to the ‘PPP Settings…’ button.

Only check/allow the following options:

Also, select the following:

  • Allow BSD data compression
  • Allow Deflate data compression
  • Use TCP header compression

Сlick “OK” and then click “Add” button.

5 Now go to the “Wired Connections” option and under “VPN Connections” click on the newly created “PureVPN” connection to activate the VPN connection.

You are connected now!

*To configure SSTP on Mint you have to install the packages first. Follow the below steps to download/install required packages and configure SSTP*

and download the following packages as per your OS / bit.

For Mint 32bit download:

For Mint 64bit download:

  • Right click on libsstp-client0_1.0.9_i386.deb and open with “GDebi Package Installer“
  • Click “install package” to continue
  • Enter your Mint password and click on “OK” to continue
  • Once installed. Go back to downloads folder

3 Do the following:

  • Right click on sstp-client_1.0.9_i386.deb and open with “GDebi Package Installer“
  • Click “install package” to continue
  • Enter your Mint password and click on “OK” to continue
  • Once installed. Go back to downloads folder

4 Do the following:

  • Right click on network-manager-sstp_0.9.4-0ubuntu2_i386.deb and open with “GDebi Package Installer“
  • Click “install package” to continue
  • Enter your Mint password and click on “OK” to continue
  • Once installed. Go back to downloads folder

5 Do the following:

  • Right click on network-manager-sstp-gnome_0.9.4-0ubuntu2_i386.deb and open with “GDebi Package Installer“
  • Click “install package” to continue
  • Enter your Mint password and click on “OK” to continue
  • Once installed. Go back to downloads folder
  • After installing pacakges. Reboot your system.

6 Click on “Network Manager Icon” and select “Network Settings“

8 Click on “Create“ .

9 Select “Secure Socket Tunneling Protocol (SSTP)” and click “Create”

10 Do the following:

  • Enter Connection Name “PureVPN SSTP“
  • Insert the desired server: Please refer to the server address shared in the above note.
  • Enter Username provided by PureVPN
  • Enter Password provided by PureVPN
  • Check “Ignore certificate warnings“
  • Click “Advanced”
Читайте также:  Иконки для windows форм

11 Do the following:

  • Uncheck “Use Point-to-Point encryption (MPPE)“
  • Check “Send PPP echo packets“
  • Click on “OK“

12 Click on “Save“

13 Click on “PureVPN SSTP” connection and click on switch to “Turn ON” VPN.

14 You are connected now. Enjoy the FREEDOM!

15 To disconnect VPN

  • Click on “Network Connection Icon” and click on switch to “Turn OFF” VPN.

The following is required for OpenVPN client to work on Linux Mint 20.2:

  • A working installation of Linux Mint (This guide uses Linux Mint (Uma) 64-bit)
  • A device with internet access
  • A PureVPN premium account (Don’t have one? Sign up now!)

1 First, open the web browser (Firefox) and download the PureVPN OpenVPN configuration files from this link and extract them.

2 Go To to the Terminal window and install OpenVPN client. Type the following commands one by one.

  • sudo apt-get update
  • sudo apt-get install openvpn
  • sudo apt-get install network-manager-openvpn
  • sudo apt-get install network-manager-openvpn-gnome

3 Now Select the following options:

  • Click on “Wired Connection
  • Go to “Network Connections

4 Click on the ‘+’ icon to add a VPN connection and select ‘Import from file…’ option to upload an OpenVPN profile.

5 Go to the folder where you have downloaded the OpenVPN files and select your desired .ovpn file to connect.

5 When the new window appears, complete the fields as below:

  • Insert Connection name: PureVPN
  • Insert Gateway: (already selected/entered)
  • Connection Type: Password from drop down menu
  • Insert Username provided by PureVPN
  • Insert Password provided by PureVPN
  • CA Certificate: Already uploaded.
  • Сlick “Add” button.

7 Now go to the “Wired Connections” option and under “VPN Connections” click on the newly created “PureVPN” connection to activate the VPN connection.

You are connected to PureVPN now!

Источник

How to configure a Linux PPTP VPN client

Configuring a VPN client connection is a simple matter of point and click in Windows OSes, but in Linux it is involves installing a package, configuring passwords, VPN server settings and finally routing the traffic destined for the VPN network via the VPN connection. The package named pptp is used on the client side for configuring a connection. To setup a VPN server read How to setup a VPN Server in Windows Server 2008. This tutorial is for both Debian Linux variants and Red Hat Linux variants.

Читайте также:  Astra linux sane utils

Fedora/Red Hat/CentOS PPTP Client Installation

Install the pptp client

yum install pptp

Debian/Ubuntu PPTP Client Installation

Use the apt-get command

apt-get install pptp-linux

Configuring VPN credentials and server settings

Edit the following file and enter your VPN username and password

The syntax of the file is as follows

DOMAIN\\username PPTP vpnpassword *

For example to configure a user named jesin on example.com with pass1 as the password enter

EXAMPLE\\jesin PPTP pass1 *

If your VPN network doesn’t come under a domain replace DOMAIN with your VPNSERVER name.

Next is to configure the VPN server settings. Create and edit a new file under the peers directory

Add content according to the syntax below

pty «pptp vpn-server-hostname-or-ip-address —nolaunchpppd»
name DOMAIN\\username
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam vpnconnection1

Here “DOMAIN\\username” is the same as the one entered in the chap-secrets file. The ipparam should contain the name of the newly created file, in this case it is “vpnconnection1”

Adding a route to the routing table

All traffic for the VPN network should pass through the VPN interface so an entry has to be added to the routing table. To automatically add an entry whenever a VPN connection is established create and edit the following file

Add the following content

#!/bin/bash
route add -net 10.0.0.0/8 dev ppp0

Make the file executable

chmod +x /etc/ppp/ip-up.d/vpn1-route

Testing the connection

To connect using the newly created VPN connection use the following command

pppd call vpnconnection1

Take a peek into the messages log file using the following command

tail -f /var/log/messages

you should see something similar to this

Nov 27 13:46:20 server1 kernel: [ 800.071028] PPP generic driver version 2.4.2
Nov 27 13:46:20 server1 pppd[1083]: pppd 2.4.5 started by root, uid 0
Nov 27 13:46:20 server1 pppd[1083]: Using interface ppp0
Nov 27 13:46:20 server1 pppd[1083]: Connect: ppp0 /dev/pts/0
Nov 27 13:46:25 server1 pppd[1083]: CHAP authentication succeeded
Nov 27 13:46:25 server1 kernel: [ 804.683790] padlock: VIA PadLock Hash Engine not detected.
Nov 27 13:46:25 server1 kernel: [ 804.687408] PPP MPPE Compression module registered
Nov 27 13:46:25 server1 pppd[1083]: MPPE 128-bit stateless compression enabled
Nov 27 13:46:26 server1 pppd[1083]: local IP address 10.0.0.11
Nov 27 13:46:26 server1 pppd[1083]: remote IP address 10.0.0.12

Try pinging a system in the VPN network and you should get proper replies.

Disconnecting the connection

To disconnect the PPTP VPN connection use the killall command

Источник

Оцените статью