Vpn Fedora

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Vpn Fedora as PDF for free.

More details

  • Words: 823
  • Pages: 8
VPN (Virtual Private Network) with Fedora Linux Jeff Arbuckle 2009-06-17 16:41

Abstract Describes a technique for secure connections to the TCC from remote hosts. This publication is available in Web form1 and also as a PDF document2. Please forward any comments to [email protected].

Table of Contents 1. Overview: A remote access method for Linux ............................................................................ 2. Installation for Fedora Core 2 .................................................................................................... 3. Configuration .......................................................................................................................... 4. Connecting .............................................................................................................................. 5. Closing the connection .............................................................................................................

1 1 2 6 8

1. Overview: A remote access method for Linux This document describes how to install PPTP Client on a Fedora Core 2 system. This client allows you to connect to a remote system reliably and securely. This connection is sometimes referred to as a tunnel to the remote system. This information was adapted from documentation located on the PPTP Client website3. Please see this site for installing PPTP Client on Linux systems other than Fedora Core 2, but follow the configuration steps below. The process involves installing two products (MPPE and then PPTP), followed by configuration. Later sections will describe the process of connecting and disconnecting.

2. Installation for Fedora Core 2 Each of the links below takes you to a page that allows you to select a mirror site for downloading an RPM file. To download, click on that link, then click on one of the mirror site icons. (Use left-click in both cases. Right-clicking will get you a Web page, not an RPM.) 1.

Download the dkms rpm4.

1

http://www.nmt.edu/tcc/help/pubs/vpnfedora/ http://www.nmt.edu/tcc/help/pubs/vpnfedora/vpnfedora.pdf http://pptpclient.sourceforge.net 4 http://prdownloads.sourceforge.net/poptop/dkms-1.12-2.noarch.rpm 2 3

New Mexico Tech Computer Center

VPN with Fedora Linux

1

Install it using this shell command: rpm --install dkms-1.12-2.noarch.rpm 2.

Download the kernel_ppp_mppe dkms rpm5. Install it using: rpm --install kernel_ppp_mppe-0.0.4-2dkms.noarch.rpm

3.

Test to make sure the MPPE loads correctly: modprobe ppp-compress-18 && echo success It should print “success”.

4.

Download the ppp rpm6. Upgrade ppp with this shell command: rpm --upgrade ppp-2.4.3-0.cvs_20040527.4.fc2.i386.rpm

5.

Download the PPTP client program7. Install it: rpm --install

6.

pptp-linux-1.5.0-1.i386.rpm

Download the configuration program interpreter php-pcntl rpm8. Install it: rpm --install

7.

php-pcntl-4.3.8-1.i386.rpm

Download the configuration program GTK+ interface php-gtk-pcntl rpm9. Install it: rpm --install

8.

php-gtk-pcntl-1.0.0-2.i386.rpm

Download the configuration program pptpconfig rpm10. Install it: rpm --install

pptpconfig-20040722-0.noarch.rpm

3. Configuration These steps will have to be done only once. 1.

As root, run pptpconfig. A window will appear:

5

http://prdownloads.sourceforge.net/poptop/kernel_ppp_mppe-0.0.4-2dkms.noarch.rpm http://prdownloads.sourceforge.net/poptop/ppp-2.4.3-0.cvs_20040527.4.fc2.i386.rpm 7 http://prdownloads.sourceforge.net/pptpclient/pptp-linux-1.5.0-1.i386.rpm 8 http://prdownloads.sourceforge.net/pptpclient/php-pcntl-4.3.8-1.i386.rpm 9 http://prdownloads.sourceforge.net/pptpclient/php-gtk-pcntl-1.0.0-2.i386.rpm 10 http://prdownloads.sourceforge.net/pptpclient/pptpconfig-20040722-0.noarch.rpm 6

2

VPN with Fedora Linux

New Mexico Tech Computer Center

2.

Enter the following information into the Server tab: Name: Enter a name for this connection, such as “TCC VPN”. Server: Enter “vpn.nmt.edu”. Domain: Leave this blank. Username: Enter your TCC username. Password: Enter your TCC password.

3.

Select All to Tunnel in the Routing tab:

New Mexico Tech Computer Center

VPN with Fedora Linux

3

4.

In the DNS tab: • Under “Servers:”, enter these two addresses: 129.138.4.138 129.138.250.10 • Under “Options:”, enter “search nmt.edu”.

4

VPN with Fedora Linux

New Mexico Tech Computer Center

5.

In the Encryption tab: • Select Refuse 40-bit Encryption. • Select Refuse Stateless Encryption.

New Mexico Tech Computer Center

VPN with Fedora Linux

5

6.

In the Miscellaneous tab, add the option “mtu 1444” to the text field for “Options for pppd, see 'man pppd'”.

7.

Click on Add, and the tunnel will appear in the PPTP Client Tunnel List.

4. Connecting To make a VPN connection to the TCC:

6

1.

As root, bring up the pptpconfig application as described above.

2.

Right-click on the TCC tunnel in the “PPTP Client Tunnel List”, and select Start from the popup menu.

VPN with Fedora Linux

New Mexico Tech Computer Center

Alternatively, you can click on the TCC tunnel in the list and then click the Start button. 3.

A window appears, showing the progress of the connection. You may close this window at any time without closing the connection.

4.

If the connection was successful, the status of the VPN will show as “Running”. Once the connection is running, you can close the main window without closing the connection.

New Mexico Tech Computer Center

VPN with Fedora Linux

7

Once you have opened your VPN tunnel, your machine is effectively on the TCC network. You can use TCC machines in these ways, and more: • To log in to a TCC system, use this command: ssh hostname where hostname is the name of the system, such as rainbow. • Your Web browser can access any Web page on the Internet. • You can transfer files with ftp (File Transfer Protocol) or scp (Secure Copy). See the man pages for ftp11 and scp12.

5. Closing the connection If you closed the pptpconfig window after you established the connection, run pptpconfig as root to bring the window back. To close the connection, select the VPN item from the list and click the Stop button.

11 12

8

http://www.nmt.edu/bin/man?ftp http://www.nmt.edu/bin/man?scp

VPN with Fedora Linux

New Mexico Tech Computer Center

Related Documents

Vpn Fedora
May 2020 13
Fedora
December 2019 23
Fedora
June 2020 12
Vpn
May 2020 24
Vpn
June 2020 16
Vpn
July 2020 14