Simple, Secure and Flexible VPN solution for home and business



Similar documents
HOWTO: How to configure VPN SSL roadwarrior to gateway

Evaluating the Cisco ASA Adaptive Security Appliance VPN Subsystem Architecture

OpenVPN. Amoocon Felix bytemine GmbH

AnyConnect VPN Client FAQ

Príprava štúdia matematiky a informatiky na FMFI UK v anglickom jazyku

OpenVPN. Tom Eastep April 29, 2006 Linuxfest NW

Yealink Technical White Paper. Contents. About VPN Types of VPN Access VPN Technology... 3 Example Use of a VPN Tunnel...

IP Security. IPSec, PPTP, OpenVPN. Pawel Cieplinski, AkademiaWIFI.pl. MUM Wroclaw

SSL VPN. Virtual Private Networks based on Secure Socket Layer. Mario Baldi. Politecnico di Torino. Dipartimento di Automatica e Informatica

Virtual Private Networks

Chapter 4: Security of the architecture, and lower layer security (network security) 1

Using the Raspberry Pi to establish a Virtual Private Network (VPN) Connection to a Home Network

SSL VPN Server Guide. Access Manager 3.2 SP2. June 2013

Corporate VPN Using Mikrotik Cloud Feature. By SOUMIL GUPTA BHAYA Mikortik Certified Trainer

Beginning OpenVPN 2.0.9

Virtual Private Networks

How to install and run an OpenVPN client on your Windows-based PC

Virtual Private Network with OpenVPN

Security Protocols HTTPS/ DNSSEC TLS. Internet (IPSEC) Network (802.1x) Application (HTTP,DNS) Transport (TCP/UDP) Transport (TCP/UDP) Internet (IP)

Requirements Collax Security Gateway Collax Business Server or Collax Platform Server including Collax SSL VPN module

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

Case Study for Layer 3 Authentication and Encryption

z/os Firewall Technology Overview

Novell Access Manager SSL Virtual Private Network

OS/390 Firewall Technology Overview

Crypt O Pack in security

The Barracuda Network Connector. System Requirements. Barracuda SSL VPN

SSL VPN Server Guide Access Manager 3.1 SP5 January 2013

Part 4: Virtual Private Networks

Configuring IPSec VPN Tunnel between NetScreen Remote Client and RN300

Virtual Private Network (VPN) Lab

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

Application Note: Integrate Juniper IPSec VPN with Gemalto SA Server. October

NETASQ MIGRATING FROM V8 TO V9

Network Access Security. Lesson 10

Free Dynamic DNS account you can use one of your choosing I like DynDNS but there's also No-IP and probably others.

Securepoint Security Systems

Project 4: IP over DNS Due: 11:59 PM, Dec 14, 2015

Howto: How to configure static port mapping in the corporate router/firewall for Panda GateDefender Integra VPN networks

Remote Connectivity for mysap.com Solutions over the Internet Technical Specification

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

INTEGRATION GUIDE. DIGIPASS Authentication for Cisco ASA 5505

Other VPNs TLS/SSL, PPTP, L2TP. Advanced Computer Networks SS2005 Jürgen Häuselhofer

Lecture 17 - Network Security

Computer Networks. Secure Systems

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

Securing Networks with PIX and ASA

Building scalable IPSec infrastructure with MikroTik. IPSec, L2TP/IPSec, OSPF

Network Security. Lecture 3

Security Engineering Part III Network Security. Security Protocols (II): IPsec

Why a Reverse Proxy with My Instant Communicator for mobiles??

Open Source Enterprise VPN Solution with OpenVPN and OpenBSD

Guideline for setting up a functional VPN

Digi Connect WAN Application Helper NAT, GRE, ESP and TCP/UPD Forwarding and IP Filtering

TABLE OF CONTENTS NETWORK SECURITY 2...1

Administrator's Guide

Michal Ludvig, SUSE Labs, 01/30/2004, Secure networking, 1

SSL VPN Server Guide. Access Manager 4.0. November 2013

Implementing and Administering Security in a Microsoft Windows Server 2003 Network

Stealth OpenVPN and SSH Tunneling Over HTTPS

How To Understand And Understand The Security Of A Key Infrastructure

10/23/12. Fundamentals of Linux Platform Security. Linux Platform Security. Roadmap. Security Training Course. Module 9 Application Security

Linux Operating System Security

To participate in the hands-on labs in this class, you need to bring a laptop computer with the following:

Cisco Which VPN Solution is Right for You?

DrayTek Vigor High Performance Firewall Router. - VPN - Up to 200 concurrent tunnels. - Load Balancing & Failover between WAN ports

By Masaya NORIFUSA* ABSTRACT. SAFEBORDER is an SSL VPN appliance product that offers a unique remote access solution to

CCNA Security 1.1 Instructional Resource

NEW YORK INSTITUTE OF TECHNOLOGY School of Engineering and Technology Department of Computer Science Old Westbury Campus

APNIC elearning: Network Security Fundamentals. 20 March :30 pm Brisbane Time (GMT+10)

Java Secure Application Manager

Quick Startup Installation Instructions. Overview. Important Information

Part III-b. Universität Klagenfurt - IWAS Multimedia Kommunikation (VK) M. Euchner; Mai Siemens AG 2001, ICN M NT

IINS Implementing Cisco Network Security 3.0 (IINS)

Release Notes. NCP Secure Entry Mac Client. Major Release 2.01 Build 47 May New Features and Enhancements. Tip of the Day

Topics in Network Security

About VPN Yealink IP Phones Compatible with VPN Installing the OpenVPN Server Configuring the OpenVPN Feature on IP Phones...

Sophos Roadshow. Complete Security Vision

Step by step guide to implement SMS authentication to Cisco ASA Clientless SSL VPN and Cisco VPN

Firewalls and VPNs. Principles of Information Security, 5th Edition 1

AnyConnect VPN Client FAQ

Access Your Cisco Smart Storage Remotely Via WebDAV

Implementing Core Cisco ASA Security (SASAC)

Securing Cisco Network Devices (SND)

21.4 Network Address Translation (NAT) NAT concept

Remote user access VPN with IPsec

Release Notes. NCP Secure Client Juniper Edition. 1. New Features and Enhancements. 2. Problems Resolved

Table of Contents. Introduction

Configuring GTA Firewalls for Remote Access

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

ASA and Native L2TP IPSec Android Client Configuration Example

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

Network Security Fundamentals

Release Notes. NCP Secure Entry Mac Client. 1. New Features and Enhancements. 2. Improvements / Problems Resolved. 3. Known Issues

LECTURE 4 NETWORK INFRASTRUCTURE

ProtectID. for Financial Services

Comparing TCP performance of tunneled and non-tunneled traffic using OpenVPN

FreeBSD OpenVPN Server/Routed - Secure Computing Wiki

Transcription:

Simple, Secure and Flexible VPN solution for home and business

me Romain Bourgue IT Security and open source fan Works for the french Civil Service since 2003 romain.bourgue@gmail.com

Summary VPN solutions : multiple choices for multiple situations OpenVPN «Once upon a time...» - Few tales and demos featuring OpenVPN Want more? Need help?

Summary VPN solutions : multiple choices for multiple situations Quick reminder about secure VPN IPsec based solutions SSL based solutions Commercial fake SSL VPN OpenVPN «Once upon a time...» - Few tales and demos featuring OpenVPN Want more? Need help?

VPN solutions overview Quick reminder about secure VPNs Main objective : securely encapsulates data between 2 or more networked devices not on the same private network. Responsible for : Authenticate (both ways) Insure data integrity Encrypt/Decrypt Encapsulate/ decapsulate Lots of solutions, very few compatibilty

VPN Solutions Ipsec based solutions IPSec pros : Widely supported Interoperability is achievable for lan-to-lan connectivity IPsec cons : Specific protocols AH, ESP No automatic negotiation Difficult to open in firewalls Bad NAT support IPsec in itself is not enough for VPN roadwarriors : Needs specific implementations

VPN Solutions Ipsec based solutions Specific Implementations Vendor specific implementation for endusers : Cisco VPN Client, Checkpoint Secure Client, Juniper IPSec Client... MS PPP/L2TP/IPsec : natively supported in Windows OS and devices Still good for : LAN-to-LAN in heterogeneous situations

VPN Solutions SSL/TLS based VPN Uses SSL/TLS security for authentication, key negociation and session renegociation Data encapsulation is still specific. Implementations Clientless : ActiveX or Java applet based SSL/TLS VPN (transport through loopback listening sockets) Client based commercial solution : Cisco, Juniper, Connectra Openssh, Openvpn Good for : Securing endusers connection (roadwarriors, wifi, admin networks...)

VPN Solution Commercial fake SSL VPN Commercially called SSL VPN... they are just https servers with : Reverse proxy to serve internal web ressources Web interfaces to add functionnality : VNC/RDP for remote administration, WebMail, Web access to windows shares...

Summary VPN solutions : multiple choices for multiple situations OpenVPN Quick facts In-depth presentation Few more things Performances Configuration basis Plugability & Hooks for fun and creativity «Once upon a time...» - Few tales and demos featuring OpenVPN Want more? Need help?

Open VPN Quick facts Created for personal use by James Yonan Dual license : Community edition : GPL v2 Commercial edition. Adds a distribution server and Client and Management GUI Version history May 2001 : v0.9 first release... Dec 2009 : v2.1.1 Roadmap for v3.0 : Become a generic network stack with modules for everything... Available in : Linux, Solaris, *BSD, Windows (XP to 7 and Mobile), MAC OS, Android, Iphone...

OpenVPN in-depth Architecture Case study : simple VPN connection

OpenVPN in-depth Architecture Case study : simple VPN connection

OpenVPN in-depth Architecture

OpenVPN in-depth Architecture OpenVPN software Runs in user space. Same software in client or server mode. Only the config file differs.

OpenVPN in-depth Architecture

OpenVPN in-depth Architecture Tun/Tap device : Virtual interface plugged to a character device. Applications in user space can read and write IP packet (tun) or ethernet frames (tap) to this interface

OpenVPN in-depth Architecture

OpenVPN in-depth Architecture

OpenVPN in-depth

OpenVPN in-depth Transport OpenVPN tunnels can be transported over TCP or UDP With TCP transport, TCP data are tunneled over TCP. Congestion controls are runnning twice and badly interract when congestion occurs Still, TCP 443 might be your only way out HTTP proxy is also supported

OpenVPN in-depth Multiplexer & Reliability Packets and frames transport need unreliability but SSL/TLS stuff does... The reliability layer provides it (only in UDP mode). An optional pre-openssl HMAC (pre shared key) can be added at this layer

OpenVPN in-depth Authentication & key gen 2 authentication modes supported : Static pre-shared key (doesn't scale well...) SSL/TLS with certificates for authentication and keys negotiation (preferred) easyca provided for simple PKI certificate generation Provides keys for encryption & HMAC validation

OpenVPN in-depth Data encryption Data Encryption/decryption is made by standard OpenSSL EVP interface with the negociated keys. HMAC validation is also made with OpenSSL EVP An optional pre-openssl HMAC header can be added.

OpenVPN in-depth Encapsulation Packets are read/written from the tuntap device The MSS is adjusted by OpenVPN request to avoid fragmentation

Summary VPN solutions : multiple choices for multiple situations OpenVPN Quick facts In-depth presentation Few more things Performances Configuration basis Plugability & Hooks for fun and creativity «Once upon a time...» - Few tales and demos featuring OpenVPN Want more? Need help?

Few more things Authentication Can also be : Without client certificate and/or login password validated with user script (pam, ldap, OTP, db...) Dual factor PKCS11 and MS cryptoapi supported Clients management : OpenVPN server acts as a DHCP server. DHCP options supported. IP pool management with sticky address Routes can be pushed from server LB & FailOver : Natively supported in client config file

Hardening OpenVPN Tls-auth : A simple but efficient HMAC A shared static key is used to add an integrity header to vpn packets. If the HMAC is false : packet drooped. Prevent bruteforce, tempering, libssl exploitation. root privilege dropping After init With sudo for iproute In chrooted environment

Performances Due to heavy kernel space/user space data transferts, OpenVPN performances are not as good as Ipsec's Source : http://stuff.skoberne.net/ipsec_and_openvpn_performance.pdf

Using OpenVPN : configuration basis Installing and running openvpn on linux (apt-get yum urpmi...) install openvpn /etc/openvpn/ for config file(s) /etc/init.d/openvpn start [configfile] Configuration 2 modes : commands args and/or config file

Plugability & Hooks for fun and creativity Client and server side user defined scripts can be easily called on multiple events : Tunnel up/down Certificate verification Login/password verification Client authenticated (server side) Remote IP address change Route up (client side) Client disconnected New route/mac address added to the server Lots of environment variables are set before calling the scripts. Telnet management interface

Summary VPN solutions : multiple choices for multiple situations OpenVPN «Once upon a time...» - Few tales and demos featuring OpenVPN Tale I : Home sweet home : The Simple 4 Lines Config Tale II : Escaping the evil proxy Tale III : The OpenVPN server, the CAS WebSSO, and the brave firewall Want more? Need help?

Tale I : Home sweet home : The Simple 4 Lines Config Goal : configure a host-to-host connection for accessing your home network (192.168.1.0/24) anywhere. Static key generation : openvpn --genkey --secret static.key Server config : dev tun ifconfig 10.1.0.1 10.1.0.2 secret static.key Client config : remote serveraddress dev tun ifconfig 10.1.0.2 10.1.0.1 secret static.key route 192.168.1.0 255.255.255.0

Tale II : Escaping the evil proxy Objective : transport your VPN over an http proxy and route everything to it Change to tcp mode : proto tcp And just add this to the client configuration : http-proxy [proxyaddress] [proxyport]

Tale III : OpenVPN with CAS sso authentication Objective : Using scripts capabilities of openvpn, delegate authentication on a CAS web SSO server Ingredients : A CAS Web SSO server A firewall A gatekeeper : web application relying on CAS SSO An OpenVPN server A client Few scripts

Tale III : OpenVPN conf Connection to openvpn is made without authentication : --certificate-free. --ha-mac is used to prevent total strangers User's VPN IP is blocked by a firewall An application relying on cas authentication allow the IP address on the firewall upon successful SSO authentication. An action script is triggered when client disconnects to clear the IP on the firewall

Summary VPN solutions : multiple choices for multiple situations OpenVPN «Once upon a time...» - Few tales and demos featuring OpenVPN Want more? Need help?

Want more? Need help? Useful links : http://openvpn.net community Wiki : https://community.openvpn.net/openvpn/wiki/ Related projects : https://community.openvpn.net/openvpn/wiki/relatedproject Official Quickstart, manuals, HOWTO Mailing list : users and developers IRC chan : #openvpn on irc.freenode.net Get involved : git repository, IRC weekly meeting, Wiki, bug fixes and patch submission, donation... Book : OpenVPN: Building and Integrating Virtual Private Networks