Virtual Private Network

Slides:



Advertisements
Similar presentations
Point-to-Point Protocol (PPP)
Advertisements

Encrypting Wireless Data with VPN Techniques
1 Chapter 2: Networking Protocol Design Designs That Include TCP/IP Essential TCP/IP Design Concepts TCP/IP Data Protection TCP/IP Optimization.
Securing Remote PC Access to UNIX/Linux Hosts with VPN or SSH Charles T. Moetului WRQ, Inc. (206)
Module 5: Configuring Access for Remote Clients and Networks.
1 Objectives Configure Network Access Services in Windows Server 2008 RADIUS 1.
1 Configuring Virtual Private Networks for Remote Clients and Networks.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 11: Planning Network Access.
Hands-On Microsoft Windows Server 2003 Administration Chapter 11 Administering Remote Access Services.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Twelve Implementing Terminal.
Chapter 8: Configuring Network Connectivity. Installing Network Adapters Network adapter cards connect a computer to a network. Installation –Plug and.
VPN – Virtual Private Networking. VPN A Virtual Private Network (VPN) connects the components of one network over another network. VPNs accomplish this.
Remote Networking Architectures
Virtual Private Network (VPN) © N. Ganesan, Ph.D..
VPN TUNNELING PROTOCOLS PPTP, L2TP, L2TP/IPsec Ashkan Yousefpour Amirkabir University of Technology.
Overview of Routing and Remote Access Service (RRAS) When RRAS was implemented in Microsoft Windows NT 4.0, it added support for a number of features.
Module 11: Supporting Remote Users. Overview Establishing Remote Access Connections Connecting to Virtual Private Networks Configuring Authentication.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 14 Remote Access.
NetComm Wireless VPN Functionality Feature Spotlight.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 10: Remote Access.
1 Microsoft Windows NT 4.0 Authentication Protocols Password Authentication Protocol (PAP) Challenge Handshake Authentication Protocol (CHAP) Microsoft.
Virtual Private Networks (Tunnels). When Are VPN Tunnels Used? VPN with PPTP tunnel Used if: All routers support VPN tunnels You are using MS-CHAP or.
PPP (Point to Point Protocol)
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 23 Virtual Private Networks (VPNs)
Configuring Routing and Remote Access(RRAS) and Wireless Networking
Virtual Private Network (VPN) SCSC 455. VPN A virtual private network that is established over, in general, the Internet – It is virtual because it exists.
Chapter 20: Getting from the Office to the Road: VPNs BAI617.
Chapter 12 Chapter 12: Remote Access and Virtual Private Networks.
Module 8: Configuring Virtual Private Network Access for Remote Clients and Networks.
12-Sep-15 Virtual Private Network. Why the need To transmit files securely without disclosing sensitive information to others in the Internet.
WAN Technologies Dial-up modem connections
Objectives Configure routing in Windows Server 2008 Configure Network Address Translation 1.
Remote Access Chapter 4. Learning Objectives Understand implications of IEEE 802.1x and how it is used Understand VPN technology and its uses for securing.
Remote Access Chapter 4. Learning Objectives Understand implications of IEEE 802.1x and how it is used Understand VPN technology and its uses for securing.
11.59 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
1 Chapter 8 Copyright 2003 Prentice-Hall Cryptographic Systems: SSL/TLS, VPNs, and Kerberos.
Point-to-Point Access: PPP PPP Between Routers  Used for Point-to-Point Connections only  Used as data link control (encapsulates network layer.
VIRTUAL PRIVATE NETWORK By: Tammy Be Khoa Kieu Stephen Tran Michael Tse.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Abdullah Alshalan Garrett Drown Team 3 CSE591: Virtualization and Cloud Computing.
EPipe 2344 Product Introduction. Protocols and Bandwidth Control Protocols TCP/IP, RIP, DHCP, TFTP, PPP, PPPoE, IPoE Bandwidth control (site-site) Multilink.
11.59 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Hands-On Microsoft Windows Server Introduction to Remote Access Routing and Remote Access Services (RRAS) –Enable routing and remote access through.
Module 5: Configuring Access for Remote Clients and Networks.
Page 1 TCP/IP Networking and Remote Access Lecture 9 Hassan Shuja 11/23/2004.
Virtual Private Network. VPN In the most basic definition, VPN is a connection which allows 2 computers or networks to communicate with each other across.
Using Routing and Remote Access Chapter Five. Exam Objectives in this Chapter:  Plan a routing strategy Identify routing protocols to use in a specified.
Virtual Private Networks Ed Wagner CS Overview Introduction Types of VPNs Encrypting and Tunneling Pro/Cons the VPNs Conclusion.
Configure and Security Remote Acess. Chapter 8 Advance Computer Network Lecture Sorn Pisey
Virtual Private Network. Computer Center, CS, NCTU 2 What is a VPN  Used to connect two private networks together via the Internet.
Cisco I Introduction to Networks Semester 1 Chapter 6 JEOPADY.
Jonathan Brewer Technical Director Araneo Wireless Solutions Layer 3 Tunnels for Broadband Delivery.
Virtual Private Networks
Virtual Private Network Access for Remote Networks
Virtual Private Networks and IPSec
Module 9: Configuring Network Access
Virtual Private Networks
Virtual Private Networks
Virtual Private Network (VPN)
Virtual Private Network
Microsoft Windows NT 4.0 Authentication Protocols
Understand Wide Area Networks (WANs)
Configuring and Troubleshooting Routing and Remote Access
Virtual Private Network (VPN)
Server-to-Client Remote Access and DirectAccess
Virtual Private Networks (VPN)
Virtual Private Network zswu
Multi-link PPP daemon zswu
Topic 12: Virtual Private Networks
Presentation transcript:

Virtual Private Network pmli

What is a VPN Used to connect two private networks together via the Internet

What is a VPN Used to connect remote users to a private network via the Internet

Why ?

Virtual Private Network VPN connects the components of one network over another network by tunnel through the public network with security and features formerly available only in private network VPN saves the cost of dedicated line Brief: VPN is Secure Tunnel

What a VPN needs ? VPNs must be encrypted VPNs must be authenticated so no one can read it VPNs must be authenticated No one outside the VPN can alter the VPN All parties to the VPN must agree on the security properties

Tunneling Core technology VPN consists of a set of point to point connections tunnelled over the Internet

Encapsulation In order to achieve tunneling, the packets are encapsulated as the payload of packets Payloads, to and from addresses, port numbers and other standard protocol packet headers As seen by the external routers carrying the connection

Implementations Point-to-Point Tunneling Protocol (PPTP) RFC 2637 Layer 2 Tunneling Protocol (L2TP) RFC 2661 IPSec Tunnel Mode RFC 2401 Secure Socket Tunneling Protocol (SSTP)

PPTP Point-to-Point Tunneling Protocol (PPTP) is a method for implementing VPN PPTP doesn’t describe encryption or authentication Rely on the PPP protocol PPTP was the first VPN protocol that was supported by Microsoft Dial-up Networking Microsoft 2003 and higher also support the PPTP protocol In Microsoft, the tunneled PPP traffic can be authenticated with PAP, CHAP, Microsoft CHAP V1/V2

Security of PPTP protocol PPTP has been the subject of many security analyses and serious security vulnerabilities have been found MSCHAP-v1 is fundamentally insecure MSCHAP-v2 is vulnerable to dictionary attack on the captured challenge response packets The PPP payload can be encrypted by using Microsoft Point to Point Encryption (MPPE) when using MSCHAPv1/v2 EAP-TLS is the superior authentication choice for PPTP

PPTP: Security

mpd Mpd is a netgraph(4) based implementation of the multi-link PPP protocol for FreeBSD /usr/ports/net/mpd5 startup vi /etc/rc.conf Configuration files /usr/local/etc/mpd5/ mpd.conf mpd.secret gateway_enable="YES“ mpd_flags="-b“ mpd_enable="YES" /usr/local/etc/rc.d/mpd5 {start|stop|restart|rcvar|status}

mpd authentication /usr/local/etc/mpd5/mpd.secret plain text chmod 600 mpd.secret vpn “vpn_passwd” 140.113.0.0/16 foo1 “foofoo” 1.2.3.4/32

mpd configuration mpd.conf Consists of a label followed by a sequence of mpd commands  A label begins at the first column and ends with a colon character Commands are indented with a tab character and follow the label on the next and subsequent lines client: create bundle template B1 create link static L1 modem set modem device /dev/cuad0 set modem speed 115200 set modem script DialPeer set modem idle-script AnswerCall set modem var $DialPrefix "DT" set modem var $Telephone "1234567" set link no pap chap eap set link accept pap set auth authname "MyLogin" set auth password "MyPassword" set link max-redial 0 set link action bundle B1 open

mpd configuration startup section Version 4.0b2 Added a new startup section to the config-file, wich is loaded once at startup startup: # configure mpd users set user foo1 bar1 # configure the console set console self 127.0.0.1 5005 set console open # configure the web server set web self 0.0.0.0 5006 set web open

mpd configuration default section Set interface Set bundle name ip range Set bundle name Link layer configuration mpd layers interface -> ipcp -> compression -> encryption -> bundle -> links default: load pptp_server pptp_server: # Define dynamic IP address pool. set ippool add VPNPOOL 192.168.1.50 192.168.1.99 # Create clonable bundle template create bundle template VPN set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix # adjust incoming and outgoing TCP SYN segments (MTU) set ipcp yes vjcomp # Van Jacobson TCP header compression # Specify IP address pool for dynamic assigment. set ipcp ranges 192.168.1.1/32 ippool VPNPOOL

mpd configuration default section Link layer configuration pptp_server: …. (skip) # Create clonable link template named L create link template VPNLINK pptp # Set bundle template to use set link action bundle VPN # Multilink adds some overhead, but gives full 1500 MTU. set link enable multilink # Address and control field compression, save 2 bytes, # Protocol field compression, save 1 byte set link yes acfcomp protocomp set link keep-alive 10 60 # Configure PPTP set pptp self 1.2.3.4 set link enable incoming

Encryption Microsoft Point-to-point compression (MPPC) CCP subprotol 'mppc' option should be enabled at the CCP layer # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set mppc yes stateless

mpd configuration Minimum configuration startup: default: set ippool add VPNPOOL 192.168.1.11 192.168.1.15 create bundle template NAVPN set ipcp ranges 192.168.1.1/32 ippool VPNPOOL create link template VPNLINK pptp set link action bundle NAVPN set link no pap chap eap set link enable chap-msv2 set pptp self 1.2.3.4 set link enable incoming http://mpd.sourceforge.net/doc5/mpd.html

syslog Modify /etc/syslog.conf touch /var/log/mpd.log /etc/rc.d/syslogd reload !mpd *.* /var/log/mpd.log

VPN client 建立新的連線

VPN client