VPN
-
Security feature of VPN
- Confidentiality (privacy): Preventing anyone in the middle of the internet (man in the middle) from being ale to read the data
- Authentication: Verifying that the sender of the VPN packet is a lefitimate device and mot a device used by an attacker.
- Data integrity: Verifying that the packert was not changed as the packet transited the internet.
- Anti–replay: Preventing a man in the middle from copying and later replaying the packets sent by a legitimate user, for the purpose of appearing to ba legitimate user.
-
Steps of VPN
-
Gre Config
-
Router 1
-
Int ser0/0/0
- Ip address 1.1.1.1 255.255.255.0
-
Int tunnel0
- Ip address 10.1.3.1 255.255.255.0
- Tunnel mode gre ip
- Tunnel source serial 0/0/0
- Tunnel destination 2.2.2.2
-
Router ospf 1
- Network 10.0.0.0 255.255.255.0 area 0
-
-
Router 2
-
Int ser0/0/0
- Ip address 2.2.2.2 255.255.255.0
-
Int tunnel1
- Ip address 10.1.3.2 255.255.255.0
- Tunnel mode gre ip
- Tunnel source serial 0/0/0
- Tunnel destination 1.1.1.1
-
Router ospf 1
- Network 10.0.0.0 255.255.255.0 area 0
-
- Show ip interface brief
-
Show ip interfae tunnel0
- Interface up/down
- Ip
- Dunnel ip , interface, destination, protocol
- Show ip route 10.0.0.0
-
ACL
-
Ip access-list extended inbound-from-Internet
- Permit tcp
- Permit udp
- Permit gre any any
-
Interface s0/0/0
- Ip address-group inbound-from-Internet in
-
-
-
PPPOE
-
PPPOE config
-
Interface dialer 2
- ! Layer 3 details next
- Ip address negotiated
- Mtu 1492
- ! Layer 2 details next
- Encapsulation ppp
- Ppp chap hostname Fred
- Ppp chapp password Barney
- ! Layer 1 details next
- Dialer pool 1
- @ Physical interface – the one connected towrd the ISP
-
Interface G0/1
- No ip address
- Pppoe-client dial-pool-number 1
- Ppppoe enable
- Mac-address xxxxxx ! Optional
- No shutdown
-
-
PPPOE verification
-
Show interface dialer 2
- Outpput interface and binded interface status
- Interface is bound to Vi2
- Encapsulation ppp, lcp open
- PPPoE vaccess, cloned by Dialer2
- Interface is bound to Di2 (encapsulation ppp)
- Show interface virtual-access 2
-
Show interface virtual-access 2 configuration
- IOS generated configruation
-
Show pppoe session interface x
- Show interfaces involved in making of PPPoE
- Show pppoe session
- Show ip rouote
-
Show ip inter brief dialer 2
- Method ipcp
-
-
-