VPN 2013
VPN 2013
VPN 2013
Introduction of security
Traffic encryption: traffic read only by target
Integrity
Authentication of peers
IPsec (Internet Protocol Security)
Standard
Encapsulating Security Payload (ESP): provides
authentication, confidentiality and integrity check of the
message;
Authentication Header (AH): ensures authentication and
integrity of the messagebut does not offer the confidentiality;
Internet key exchange (IKE): implements "exchange keys" to
realize the encrypted stream;
AH authenticates the complete package, instead ESP
authenticates data only.
iptables –A FORWARD –i eth1 –p tcp –dport 22 –j ACCEPT
iptables –A FORWARD –i eth0 –p tcp –sport 22 \
–m state –state ESTABLISHED, RELATED–j ACCEPT
iptables –A FORWARD –p 47 –j ACCEPT
iptables –A FORWARD –i eth1 –p tcp –-dport 1723 \
–m state –state ESTABLISHED, RELATED–j ACCEPT
iptables –FORWARD –eth0 –p tcp –-sport 1723 \
–m state –state ESTABLISHED, RELATED–j ACCEPT
iptables –A FORWARD –p esp –j ACCEPT
iptables –A FORWARD –i eth1 –p udp –-dport 500 \
–m state –state ESTABLISHED, RELATED–j ACCEPT
iptables –A FORWARD –i eth0 –p udp –-sport 500 \
–m state –state ESTABLISHED, RELATED–j ACCEPT
set of network protocols
a protocol is encapsulated in another of equal or
higher layer
The tunneling creates virtual circuits
where network traffic is transmitted
Protocols used for the Tunneling:
L2TP (Layer 2 Tunneling Protocol)
MPLS (Multi-Protocol Label Switching)
GRE (Generic Routing Encapsulation)
PPTP(Point-to-Point Tunneling Protocol)
Ipsec
IEEE 802.1Q (Ethernet VLANs)
Point to Point Tunneling Developed by Microsoft, is a Point to Point Protocol
Protocol (PPTP) (PPP) extension that encapsulates IP, IPX, NetBEUI
into IP packets
Layer 2 Forwarding (L2F) Developed by Cisco, used for the “tunneling” of link
protocols
Layer 2 Forwarding Protocol Created with an agreement to Microsoft and Cisco,
(L2TP) allows the “tunneling” of PPP traffic on serveral
network. Gives a multi-protocol dial-up service for ISP
and POP provider.
As L2F, L2TP does not provide encryption.