7 VPN Services - VLAN
7 VPN Services - VLAN
7 VPN Services - VLAN
Security
VPN Services and VLAN
• Introduction to VPN
• VPN types and operating modes
Unit 7
• VPN Pentesting
• VPN vs Tor
VPN Services & • VLAN
VLAN
2
Virtual Private Network
Two Types:
● Secure VPNs
○ IPSec
○ SSL
IPSec VPN
VPN
SSL VPN
Securely connect a user's application session to services inside a
protected network.
Provides secure communication across Internet/ Public Network
● Encryption
● Payload Verification
● Authentication
IPSec Protocols
->
2. Transport Modes
IPSec VPN Modes - Original IP Header is retained
->
● Negotiation is done for multiple parameters like encryption and
authentication.
○ Phase 1:
■ Setup secure encrypted channel for phase 2
■ If phase 1 fails, phase cannot initiate
■ Two peers exchange credentials, identify each other, and
find common Phase 1 settings.
IPSec VPN Negotiations ■ Protocol is called ISAKMP (Internet Security Association
and Key Management Protocol)
■ Items setup in transform are:
● Authentication: SHA1, SHA2, or MD5
● Encryption: DES, 3DES, or AES
● SA Life: Time until the Phase 1 Security Association
expires
● Key Group: The Diffie-Hellman key group
○ Phase 2:
■ Agree on set of parameters:
● What type of traffic can go through
● How to encrypt
● How to authenticate
■ Commonly known as Security Association
■ Phase 2 include following things:
● Use Phase 1 SA
● Exchange Phase 2 identifiers:. That includes
○ Which IP addresses behind local device can send
IPSec VPN Negotiations traffic over VPN
○ Which IP addresses behind remote device can send
traffic over VPN
○ Specified as Network address or range of IP
address. Also called as tunnel route.
● Agreement on proposal for:
○ Type: AH or ESP
○ Authentication
○ Encryption
○ Force Key Expiration
IPSec VPN Packet Tracer
● ACL
access-list 100 permit ip 192.168.1.0 0.0.0.255 192.168.2.0
0.0.0.255
● ISAKMP Key
crypto isakmp key secretkey address <wan int of other n/w>
VPN Steps
IPSec VPNs:
● Operates at layer 3
● Connect remote host to entire network
IPSec vs SSL VPN
● Support all IP based applications
● Gateway usually implemented on the firewall
VPN v/s Tor Not the other way round, as tor exit node may be blocked by the
website.
A broadcast domain that is partitioned and isolated in a computer
network at the data link layer (OSI layer 2)
Virtual LAN
Lab: