• No results found

How-to: VPN with L2TP and certificates and the Mac OSX VPN-client. Securepoint Security System Version 2007nx

N/A
N/A
Protected

Academic year: 2021

Share "How-to: VPN with L2TP and certificates and the Mac OSX VPN-client. Securepoint Security System Version 2007nx"

Copied!
20
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Page 2 Contents

VPN with L2TP and certificates and the Mac OSX VPN-client ... 3

1 Configuration of the appliance ...4

1.1 Setting up network-objects in the Securepoint Security Manager ... 4

1.2 Creating firewall-rules ... 5

1.3 Setting up certificates ... 6

1.4 L2TP basic settings ... 10

1.5 L2TP-configuration... 11

1.6 Setting up users... 15

2 Configuration of the Mac OSX-L2TP-VPN-Roadwarrior under Mac OSX ... 16

2.1 Importing the client certificate over the Mac OSX keychain... 16

(3)

VPN with L2TP and certificates and the Mac OSX VPN-client

A VPN connects one or several computers or networks by using a different network, e. g. the internet, as a means of transport. For instance, this could be the computer of a member of staff at their home or in a subsidiary which is linked to the network at the headquarter through the internet.

For the user, the VPN looks like a normal network connection to the destination computer. The actual way of transmission is not perceived. The VPN provides the user with a virtual IP-connection which is tunneled by an actual one. The data packages transmitted via this connection are encoded at the client and decoded by the Securepoint servers - and the other way around. Target: Establishing a VPN-L2TP with certificates between the Securepoint appliance and a Mac OSX L2TP-client.

Prerequisite: The L2TP connection was tested under Mac OSX 10.4.9 (Intel). The minimum requirement is Mac OSX 10.4.X. Only with this you will be able to import the PKCS#12 certificates with L2TP.

Image: VPN

(4)

1 Configuration of the appliance

1.1 Setting up network-objects in the Securepoint Security Manager Proceed as follows:

¾ Over Firewall select the folder Network objects.

¾ Set up network-objects as shown in the following image.

Image: Network-objects

(5)

1.2 Creating firewall-rules Proceed as follows:

¾ Over Firewall select the folder Rules.

¾ Set up the firewall-rules as shown in the following image.

Image: Firewall Rules

(6)

1.3 Setting up certificates Proceed as follows:

¾ Over VPN select the folder Certificates.

Image: Certificates

First the Certification Authority (CA) with which the server-certificate and the client-certificates are signed, has to be established. Therefore, a root certificate is created first.

¾ Click on the icon New and select Root certificate. ¾ Insert the data as shown in the following image.

(7)

Image: Creating a CA

(8)

After a CA has been created, server- and client-certificates can be generated. A server is required and a client-certificate for each Roadwarrior. The Mac OSX L2TP client requires as IPSec ID the host name of the firewall server with which it is connected. In our example, this is the DynDNS name of the firewall. It is inserted in the area X.509 V3 Name.

¾ Click on the icon New and then select User / server certificate. ¾ Insert the data as shown in the following image.

Image: Creating a server certificate In the following step, client-certificates are needed.

¾ Click the icon New and select User / server certificate, ¾ Insert the data as shown in the following image.

Image: Creating a client-certificate

(9)

After creating the client-certificate, now export the certificates for usage on a Roadwarrior. ¾ Click on the icon Export and select the suitable data type.

Depending on the destination system you have to choose whether the certificates are to be saved in the standard format (.pem) or in the Personal Information Exchange Syntax (.p12). PKCS#12-Dateien are given a password. For the Mac OSX client export the certificate in the PKCS#12 format.

¾ After that the certificate can be stored locally.

Image: Export of certificates

(10)

1.4 L2TP basic settings Proceed as follows:

¾ In the main menu select VPN through the selection list VPN L2TP.

¾ The local L2TP-interface should be a free IP-address from the internal net. The L2TP-IP-addresses (L2TP address-pool) are assigned following the connection to the L2TP-interface.

¾ With this configuration the L2TP-client can communicate over the proxy-arp function with the internal net, because it is assigned an IP-address from this net upon dial-in.

Image: General VPN L2TP settings Image: NS / WINS-VPN L2TP settings

(11)

1.5 L2TP-configuration Proceed as follows:

¾ Over VPN select the folder VPN connections.

¾ Move the existing firewall-object in the left window with the mouse onto the VPN viewport.

Image: Moving the firewall-symbol to the viewport Now create a new Roadwarrior-object in the left window.

¾ Click on the Notebook-Symbol in the image bar of the upper window. In the dialogue window Roadwarrior – hinzufügen (adding Roadwarrior) the Roadwarrior is created without IP (0.0.0.0), because this may vary all the time!

¾ Click L2TP in the Roadwarrior-dialogue in order to activate L2TP.

Image: Creating a new Roadwarrior-object

(12)

¾ Now move the freshly created Roadwarrior-object from the left window onto the VPN viewport.

Image: Moving Roadwarrior-object onto viewport

¾ Now click on the icon Connecting and on the Roadwarrior-object.

A flag with the information Please click destination object appears on the Roadwarrior-object. ¾ Now click the firewall-object.

Image: Creating a new Roadwarrior-object

(13)

Now, a new dialogue window IPSec connection accept appears automatically.

¾ Select a new the authentication method CERT and the ID-type HOSTNAME in the new window. ¾ In a default case, all other settings can simply be adopted.

Image: Creating VPN with Roadwarrior

¾ Under Lokal Certificate select the server certificate. For the “Local gateway ID” insert the ID of the server certificate with the sign “@” in front of it.

Image: Creating VPN with Roadwarrior

¾ If the client-pc works behind a router (natted), the client-subnet has to be inserted as well. ¾ If the entry is to be valid for all kinds of subnets, one has to insert 0.0.0.0/0.

(14)

¾ After clicking the icon Update, the configuration on the appliance has been concluded.

Image: Updating connections

In the following step check the status of the services. SERVICE_IPSEC und SERVICE_L2TP are required for a L2TP-connection. Now upload the certificates created in the section “certificates” into the target systems.

Image: Checking if the VPN-services have been activated

(15)

1.6 Setting up users Proceed as follows:

¾ Click under User administration on the icon New. ¾ Set up an L2TP-user with name, login, password etc.

Image: Setting up an L2TP-user

¾ Optionally, the L2TP-user may be assigned directly an IP-address outside the L2TP-pool.

Image: Assigning an IP-address

(16)

2 Configuration of the Mac OSX-L2TP-VPN-Roadwarrior under Mac OSX 2.1 Importing the client certificate over the Mac OSX keychain

Proceed as follows:

¾ Open a terminal window under Mac OSX.

¾ If you are working with limited user privileges, change to a privileged user by using the command su <nameoftheadministrator>.

¾ Then open the Mac OSX keychain in the way shown in the screenshot. Do not open the keychain under the area Programme!

sudo "/Applications/Utilities/Keychain Access.app/Contents/MacOS/Keychain Access"

Image: Starting the keychain

¾ Through the import function, the certificate can be fed into the directory “system” of the key chain. In order to do that, the password of the certificate has to be inserted.

¾ Once the certificate has been inserted, copy the CA into the directory “X509Anchors”. ¾ You have to re-start the system in order for the certificate to be displayed as valid.

(17)

Image: Keychain

Image: Keychain

(18)

After the re-start, the certificate should be displayed as valid.

Image: Keychain

(19)

2.2 Setting up the VPN-connection Proceed as follows:

¾ Set up a new VPN-connection with the program “Internet-Connection”. As a server address, insert the name of the host which is also provided in the certificate of the firewall server.

Image: Setting up a standard-VPN-connection under Mac OSX

¾ Open the extended Konfiguration and select “Certificate” as computer-identification and then the relating imported certificate.

¾ Confirm the entries and test the connection.

(20)

Image: Standard-VPN-connection under Mac OSX, extended settings

References

Related documents

Christ before Pilate at the trial of Jesus revealed one of his last claims. Jesus and his word are ultimate truth. The Pontius Pilate and Jesus exchange set the two positions

Digital Certificate Manager (DCM) provides certificate expiration management support to allow administrators to manage server or client certificates, object signing

x We propose a new transfer dictionary learning framework that utilizes synthetic 2D and 3D training videos to learn a dictionary that can project a real world 2D

Note If you are installing the VPN Client for Solaris, Release 3.7 or later on a Version 2.6 Solaris platform, you receive the following message during the VPN Client

To open Cisco VPN Client software, click Start, click All Programs, click Cisco Systems VPN Client, and then click VPN Client.. By default the Cisco VPN Client will be in

Creating the Keys list Create the Server Key Create the Client Key(s) Add VPN to the list Add Clients to Server Setup New Client on Server Start your VPN Server.. Setup

To fulfill its mission as a major research university and to meet the diverse needs of Wisconsin’s largest metropolitan area, UWM is committed to the following mutually

11 Alternatively, the Division denied the Petition on the merits and affirmed its decision below by concluding that, even if the Station had transmitted a broadcast signal at