Verifying the IKE Phase 1 Status | show security ike security-associations | |
show security ike security-associations index (number) detail | ||
Verifying the IPsec Phase 2 Status | show security ipsec security-associations | |
show security ipsec security-associations index (number) detail | ||
show security ipsec statistics index (number) |
lunes, 3 de noviembre de 2014
vpn juniper parte 3
Verificando el estado de la VPN
VPN JUNIPER PARTE 2
Tomando como referencia un ejemplo de jumiper.
VPN Juniper
VPN Juniper
Requirements | Policy-Based VPN |
Configuring Interface, Static Route, Security Zone, and Address Book Information |
set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.1/24 |
set interfaces ge-0/0/3 unit 0 family inet address 1.1.1.2/30 | |
set routing-options static route 0.0.0.0/0 next-hop 1.1.1.1 | |
set security zones security-zone untrust interfaces ge-0/0/3.0 | |
set security zones security-zone untrust host-inbound-traffic system-services ike | |
set security zones security-zone trust interfaces ge-0/0/0.0 | |
set security zones security-zone trust host-inbound-traffic system-services all | |
set security address-book book1 address sunnyvale 10.10.10.0/24 | |
set security address-book book1 attach zone trust | |
set security address-book book2 address chicago 192.168.168.0/24 | |
set security address-book book2 attach zone untrust | |
Configuring IKE | set security ike proposal ike-phase1-proposal authentication-method pre-shared-keys |
set security ike proposal ike-phase1-proposal dh-group group2 | |
set security ike proposal ike-phase1-proposal authentication-algorithm sha1 | |
set security ike proposal ike-phase1-proposal encryption-algorithm aes-128-cbc | |
set security ike policy ike-phase1-policy mode main | |
set security ike policy ike-phase1-policy proposals ike-phase1-proposal | |
set security ike policy ike-phase1-policy pre-shared-key ascii-text 395psksecr3t | |
set security ike gateway gw-chicago external-interface ge-0/0/3.0 | |
set security ike gateway gw-chicago ike-policy ike-phase1-policy | |
set security ike gateway gw-chicago address 2.2.2.2 | |
Configuring IPsec | set security ipsec proposal ipsec-phase2-proposal protocol esp |
set security ipsec proposal ipsec-phase2-proposal authentication-algorithm hmac-sha1-96 | |
set security ipsec proposal ipsec-phase2-proposal encryption-algorithm aes-128-cbc | |
set security ipsec policy ipsec-phase2-policy proposals ipsec-phase2-proposal | |
set security ipsec policy ipsec-phase2-policy perfect-forward-secrecy keys group2 | |
set security ipsec vpn ike-vpn-chicago ike gateway gw-chicago | |
set security ipsec vpn ike-vpn-chicago ike ipsec-policy ipsec-phase2-policy | |
Configuring Security Policies | set security policies from-zone trust to-zone untrust policy vpn-tr-untr match source-address sunnyvale |
set security policies from-zone trust to-zone untrust policy vpn-tr-untr match destination-address chicago | |
set security policies from-zone trust to-zone untrust policy vpn-tr-untr match application any | |
set security policies from-zone trust to-zone untrust policy vpn-tr-untr then permit tunnel ipsec-vpn ike-vpn-chicago | |
set security policies from-zone trust to-zone untrust policy vpn-tr-untr then permit tunnel pair-policy vpn-untr-tr | |
set security policies from-zone untrust to-zone trust policy vpn-untr-tr match source-address chicago | |
set security policies from-zone untrust to-zone trust policy vpn-untr-tr match destination-address sunnyvale | |
set security policies from-zone untrust to-zone trust policy vpn-untr-tr match application any | |
set security policies from-zone untrust to-zone trust policy vpn-untr-tr then permit tunnel ipsec-vpn ike-vpn-chicago | |
set security policies from-zone untrust to-zone trust policy vpn-untr-tr then permit tunnel pair-policy vpn-tr-untr | |
set security policies from-zone trust to-zone untrust policy permit-any match source-address any | |
set security policies from-zone trust to-zone untrust policy permit-any match destination-address any | |
set security policies from-zone trust to-zone untrust policy permit-any match application any | |
set security policies from-zone trust to-zone untrust policy permit-any then permit | |
insert security policies from-zone trust to-zone untrust policy vpn-tr-untr before policy permit-any | |
Requirements | Route-Based VPN |
Configuring Interface, Static Route, Security Zone, and Address Book Information |
set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.1/24 |
set interfaces ge-0/0/3 unit 0 family inet address 1.1.1.2/30 | |
set interfaces st0 unit 0 family inet address 10.11.11.10/24 | |
set routing-options static route 0.0.0.0/0 next-hop 1.1.1.1 | |
set routing-options static route 192.168.168.0/24 next-hop st0.0 | |
set security zones security-zone untrust interfaces ge-0/0/3.0 | |
set security zones security-zone untrust host-inbound-traffic system-services ike | |
set security zones security-zone trust interfaces ge-0/0/0.0 | |
set security zones security-zone trust host-inbound-traffic system-services all | |
set security zones security-zone vpn-chicago interfaces st0.0 | |
set security address-book book1 address sunnyvale 10.10.10.0/24 | |
set security address-book book1 attach zone trust | |
set security address-book book2 address chicago 192.168.168.0/24 | |
set security address-book book2 attach zone untrust | |
Configuring IKE | set security ike proposal ike-phase1-proposal authentication-method pre-shared-keys |
set security ike proposal ike-phase1-proposal dh-group group2 | |
set security ike proposal ike-phase1-proposal authentication-algorithm sha1 | |
set security ike proposal ike-phase1-proposal encryption-algorithm aes-128-cbc | |
set security ike policy ike-phase1-policy mode main | |
set security ike policy ike-phase1-policy proposals ike-phase1-proposal | |
set security ike policy ike-phase1-policy pre-shared-key ascii-text 395psksecr3t | |
set security ike gateway gw-chicago external-interface ge-0/0/3.0 | |
set security ike gateway gw-chicago ike-policy ike-phase1-policy | |
set security ike gateway gw-chicago address 2.2.2.2 | |
Configuring IPsec | set security ipsec proposal ipsec-phase2-proposal protocol esp |
set security ipsec proposal ipsec-phase2-proposal authentication-algorithm hmac-sha1-96 | |
set security ipsec proposal ipsec-phase2-proposal encryption-algorithm aes-128-cbc | |
set security ipsec policy ipsec-phase2-policy proposals ipsec-phase2-proposal | |
set security ipsec policy ipsec-phase2-policy perfect-forward-secrecy keys group2 | |
set security ipsec vpn ike-vpn-chicago ike gateway gw-chicago | |
set security ipsec vpn ike-vpn-chicago ike ipsec-policy ipsec-phase2-policy | |
set security ipsec vpn ike-vpn-chicago bind-interface st0.0 | |
Configuring Security Policies | set security policies from-zone trust to-zone vpn-chicago policy vpn-tr-chi match source-address sunnyvale |
set security policies from-zone trust to-zone vpn-chicago policy vpn-tr-chi match destination-address chicago | |
set security policies from-zone trust to-zone vpn-chicago policy vpn-tr-chi match application any | |
set security policies from-zone trust to-zone vpn-chicago policy vpn-tr-chi then permit | |
set security policies from-zone vpn-chicago to-zone trust policy vpn-chi-tr match source-address chicago | |
set security policies from-zone vpn-chicago to-zone trust policy vpn-chi-tr match destination-address sunnyvale | |
set security policies from-zone vpn-chicago to-zone trust policy vpn-chi-tr match application any | |
set security policies from-zone vpn-chicago to-zone trust policy vpn-chi-tr then permit | |
Suscribirse a:
Entradas
(
Atom
)