Zeroshell: VPN Host-to-Lan



Similar documents
Configuring Windows XP/Vista L2TP client & Zeroshell

Astaro Security Gateway V8. Remote Access via L2TP over IPSec Configuring ASG and Client

How To Configure Apple ipad for Cyberoam L2TP

Sophos UTM. Remote Access via PPTP. Configuring UTM and Client

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

VPN Tracker for Mac OS X

Zeroshell HOWTO. The multifunctional OS created by How to secure my private network

Dlink DFL 800/1600 series: Using the built-in MS L2TP/IPSEC VPN client with certificates

If you have questions or find errors in the guide, please, contact us under the following address:

Use Shrew Soft VPN Client to connect with IPSec VPN Server on RV130 and RV130W

How To Configure L2TP VPN Connection for MAC OS X client

CREATING AN IKE IPSEC TUNNEL BETWEEN AN INTERNET SECURITY ROUTER AND A WINDOWS 2000/XP PC

Configuring Global Protect SSL VPN with a user-defined port

1:1 NAT in ZeroShell. Requirements. Overview. Network Setup

Cisco VPN Concentrator Implementation Guide

This chapter describes how to set up and manage VPN service in Mac OS X Server.

OpenVPN Setup Zeroshell By Cristian Benítez

Establishing a VPN tunnel to CNet CWR-854 VPN router using WinXP IPSec client

How To Set Up A Vpn Tunnel Between Winxp And Zwall On A Pc 2 And Winxp On A Windows Xp 2 On A Microsoft Gbk2 (Windows) On A Macbook 2 (Windows 2) On An Ip

Installation instructions for the supplier VPN solution

HOWTO: How to configure IPSEC gateway (office) to gateway

SSL Web Proxy. Generally to access an internal web server which is behind a NAT router, you have the following two methods:

Chapter 6 Virtual Private Networking

Sophos UTM. Remote Access via IPsec. Configuring UTM and Client

Quick Guide of HiDDNS Settings (with UPnP)

Sophos UTM. Remote Access via SSL. Configuring UTM and Client

Step-by-Step Guide for Setting Up VPN-based Remote Access in a

Configuring IPsec between a Microsoft Windows XP Professional (1 NIC) and the VPN router

Configuring a FortiGate unit as an L2TP/IPsec server

VPN Tracker for Mac OS X

IHSVPN IHS Secure Network Access

Configuring IPSec VPN Tunnel between NetScreen Remote Client and RN300

Cisco RV 120W Wireless-N VPN Firewall

Step-by-Step Guide for Creating and Testing Connection Manager Profiles in a Test Lab

How to configure VPN function on TP-LINK Routers

VPN Configuration Guide D-Link DFL-800

Remote Access Technical Guide To Setting up RADIUS

DDNS Management System User Manual V1.0

Setting up VPN Access for Remote Diagnostics Support

Sophos UTM. Remote Access via IPsec Configuring Remote Client

For paid computer support call

UTM - VPN: Configuring a Site to Site VPN Policy using Main Mode (Static IP address on both sites) i...

DFL-210/260, DFL-800/860, DFL-1600/2500 How to setup IPSec VPN connection

Ingate Firewall. TheGreenBow IPSec VPN Client Configuration Guide.

How to configure VPN function on TP-LINK Routers

Purple Sturgeon Standard VPN Installation Manual for Windows XP

VPN Overview. The path for wireless VPN users

Netgear ProSafe VPN firewall (FVS318 or FVM318) to Cisco PIX firewall

Configuring the OfficeConnect Secure Gateway for a remote L2TP over IPSec connection

Innominate mguard/mguard PCI

Workflow Guide. Establish Site-to-Site VPN Connection using Digital Certificates. For Customers with Sophos Firewall Document Date: November 2015

How to Connect SSTP VPN from Windows Server 2008/Vista to Vigor2950

Workflow Guide. Establish Site-to-Site VPN Connection using RSA Keys. For Customers with Sophos Firewall Document Date: November 2015

Innominate mguard Version 6

Pre-lab and In-class Laboratory Exercise 10 (L10)

External authentication with Fortinet Fortigate UTM appliances Authenticating Users Using SecurAccess Server by SecurEnvoy

Configuring IPsec VPN with a FortiGate and a Cisco ASA

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

Configuring TheGreenBow VPN Client with a TP-LINK VPN Router

Accessing the Media General SSL VPN

DI-804HV with Windows 2000/XP IPsec VPN Client Configuration Guide

Defender EAP Agent Installation and Configuration Guide

How To Establish Site-to-Site VPN Connection. using Preshared Key. Applicable Version: onwards. Overview. Scenario. Site A Configuration

Create a VPN on your ipad, iphone or ipod Touch and SonicWALL NSA UTM firewall - Part 1: SonicWALL NSA Appliance

Hosted Microsoft Exchange Client Setup & Guide Book

Module 6. Configuring and Troubleshooting Routing and Remote Access. Contents:

Step-by-Step Guide for Setting Up VPN-based Remote Access in a Test Lab

Check Point FW-1/VPN-1 NG/FP3

D-Link Central WiFiManager Configuration Guide

Configuring SSH Sentinel VPN client and D-Link DFL-500 Firewall

Configure VPN between ProSafe VPN Client Software and FVG318

Scenario: IPsec Remote-Access VPN Configuration

How To Connect To An Egrabit With A Vpn On A Pc Or Mac Or Ipad (For Pc Or Ipa) With A Pv (For Mac) Or Ipv (Femalese) With An Ipv Or Ip

OvisLink 8000VPN VPN Guide WL/IP-8000VPN. Version 0.6

Apliware firewall. TheGreenBow IPSec VPN Client. Configuration Guide.

How To Configure An Ipsec Tunnel On A Network With A Network Gateways (Dfl-800) On A Pnet 2.5V2.5 (Dlf-600) On An Ipse Vpn

SSL Certificate Based VPN

External Authentication with Cisco VPN 3000 Concentrator Authenticating Users Using SecurAccess Server by SecurEnvoy

Using SonicWALL NetExtender to Access FTP Servers

Watchguard Firebox X Edge e-series

How to Setup PPTP VPN Between a Windows PPTP Client and the DIR-130.

Enable VPN PPTP Server Function

Sophos UTM. Remote Access via PPTP Configuring Remote Client

Micronet SP881. TheGreenBow IPSec VPN Client Configuration Guide.

Step-by-Step Configuration

AXIS Camera Companion Internet access

Cisco SA 500 Series Security Appliance

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

Advanced Administration

Scenario: Remote-Access VPN Configuration

Technical Support Information

Guideline for setting up a functional VPN

Configure an IPSec Tunnel between a Firebox Vclass & a Check Point FireWall-1

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

intelligence at the edge of the network EdgeBOX V4.3 VPN How-To

Configuring the Cisco ISA500 for Active Directory/LDAP and RADIUS Authentication

Quick Guide of DDNS Settings

Creating a VPN Using Windows 2003 Server and XP Professional

LevelOne. User Manual. FBR-1430 VPN Broadband Router, 1W 4L V1.0

ZyXEL ZyWALL P1 firmware V3.64

Transcription:

Zeroshell: VPN Host-to-Lan The multifunctional OS created by Fulvio.Ricciardi@zeroshell.net www.zeroshell.net Securing the connection between a host and a network ( Author: cristiancolombini@libero.it )

Securing the connection between a host and a network: This short guide will lead us to create a tunnel VPN (secure and protected connection) between a host and a network. This VPN will give us security in communication during the data exchange. We could also write down security policies between the host and the network using the firewall in the between. Here the steps to be followed Logical scheme of the solution Preparing the firewall Preparing certificates Creating users and hosts Exporting the certificates for the remote host Creating VPN Tunnel Microsoft client configuration Communication policies

Logical scheme of the solution: Before starting we have to understand what we are doing: We have to connect in a secure way a host to a network through internet. I have realized this configuration in my room, at home, where I have not real public ip addresses; only for this reason I had to use addresses of the same subnet mask on the host and on the external interface of Zeroshell. In a real situation these addresses will not belong to the same subnet. Most of the times the client will be connected to internet using a dialup connection with dynamic ip address. We must disable NAT on the router connected to Zeroshell external uinterface. Ip addresses: SiteA: Private Lan: 192.168.0.0/24 Public Ip on Zeroshell External interface: 62.62.62.1 Host: Dynamic ip address ( in my test is 62.62.62.2 ) In the following image the red line is the VPN Tunnel.

VPN con Zeroshell Mercoledì 7 Marzo 2007 Site A: 192.168.0.0/24 Zeroshell: eth00: 192.168.0.75/24 eth01: 62.62.62.1/24 INTERNET Router VPN Host connected to internet

Preparing the firewall Using th document How to secure my private network at www.zeroshell.net, you will find an easy way to prepare the firewall: 1 setup of Zeroshell 2 Set ip address on internal interface: SiteA: 3 Create a configuration DB: SiteA: 4 Enabling the database configuration

5 Set ip address on external interface: SiteA: 6 In Router menu, choose NAT and set Network Address Translation as follow:

Preparing certificate: Create the Firewall certificate: In menu X509 CA, click SETUP : Fill up the fields and GENARATE the certificate.

Creating users and hosts: Now we create users and host that will be allowed to connect using VPN. In USERS click ADD: Fill up the fields setting up a strong password ( es: %RF45 Se )..this also is security. Be sure to flag Host-to-Lan VPN (L2TP/Ipsec); this will let user to estabilish a secure connection. Now choose HOSTS e click ADD:

Exporting the certificates for the remote host While creating the host CisMobile.dominio.lan the firewall create a certifcate file for this host. Using EXPORT button we have to save in PEM and in PKCS#12 (PFX):

Creating VPN Tunnel Click on VPN in the left frame and check that L2TP over IPsec with X.509 IKE and MSCHAPv2 client authentication is ENALED: Now we have to set a new network addressing that will be used in the tunnel. It is important to use here a network addressing never used before in our networks. O f course we have to use private network addressing. I have set that the remote clients connecting in Vpn will be assigned addresses from 10.10.10.1 to 10.10.10.250.

Microsoft client configuration: Now we are ready to configure the VPN host. I have a Ms Windows Xp Prof Import the caertifcate: Open Ms Management Console in Run : In the console open menu FILE ADD Snap-in choose ADD Certificates

ok. Richt click on PERSONAL CERTIFICATES choose IMPORT:

We do the same with PKCS#12 (PFX):

Now we have to create a new network connection:

In the next image we have to set the endpoint of the tunnel ( the external ip address of Zeroshell). If we have not static Ip address on Zeroshell external interface we can choose to use the free service of DynDns.org. End Now we fill up the following fields being carefull that they are case sensitive:

The username must be followed by the domain name at which it belongs to. ( domain name configured in Zeroshell). Connect: We can see the ip address assigned to our host connection by Zeroshell: 10.10.10.1. OK!! Now we can check on the firewall in VPN click Show Clients and we can see :

22:14:25 Starting: 0 connections L2TP/IPsec dropped 22:44:36 Starting: 0 connections L2TP/IPsec dropped 22:54:07 Starting: 0 connections L2TP/IPsec dropped 22:54:32 User "cristian@dominio.lan" successfully authenticated (IP: 10.10.10.1) 23:17:56 User "cristian.colombini@dominio.lan" successfully authenticated (IP: 10.10.10.1) Look at the Radius server logs: 22:44:36 Ready to process requests. 22:54:07 Ready to process requests. 23:17:56 Login OK: [cristian.colombini@dominio.lan] (from client localhost port 10)

Communication policies Now we can set what protocol ports must be open ( or closed ) in this VPN. In the following image we can see that: External host (10.10.10.1) can only browse an internal webserver (192.168.0.100) using 80 and 443 tcp ports ( http and https). Nothing else will pass throug the VPN ( see last 2 DROP lines): These policies are read from high to low in the last lines everything else ( that is not matched in the first two lines) is DROPPED between 10.10.10.0/24 192.168.0.0/24 and between 192.168.0.0/24 10.10.10.0/24.