

[edit security set vpn ike-vpn bind-interface set vpn ike-vpn ike gateway set vpn ike-vpn ike ipsec-policy vpn-policy1Ĭonfigure VPN monitoring. [edit security set policy vpn-policy1 proposals set policy vpn-policy1 perfect-forward-secrecy keys group2Ĭonfigure the VPN. [edit security set proposal ipsec-phase2-proposal protocol set proposal ipsec-phase2-proposal authentication-algorithm set proposal ipsec-phase2-proposal encryption-algorithm aes-128-cbcĬonfigure an IPsec policy. [edit security set gateway ike-gw external-interface set gateway ike-gw ike-policy set gateway ike-gw address 2.2.2.2Ĭonfigure an IPsec proposal.

[edit security set policy ike-phase1-policy mode set policy ike-phase1-policy proposals set policy ike-phase1-policy pre-shared-key ascii-text 395psksecr3tĬonfigure an IKE gateway. [edit security set proposal ike-phase1-proposal authentication-method set proposal ike-phase1-proposal dh-group set proposal ike-phase1-proposal authentication-algorithm set proposal ike-phase1-proposal encryption-algorithm aes-128-cbcĬonfigure an IKE policy. [edit logical-systems set interfaces st0 unit 1Ĭonfigure an IKE proposal. Log in to the primary logical system as the primary administratorĪnd enter configuration mode. To assign a VPN tunnel interface to a user logical system and For instructions on how toĭo that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide. The following example requires you to navigate various set logical-systems ls-product-design interfaces st0 unit 1 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 "$ABC123" set security ike gateway ike-gw ike-policy ike-phase1-policy set security ike gateway ike-gw address 2.2.2.2 set security ike gateway ike-gw external-interface ge-0/0/3.0 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 vpn-policy1 perfect-forward-secrecy keys group2 set security ipsec policy vpn-policy1 proposals ipsec-phase2-proposal set security ipsec vpn ike-vpn bind-interface st0.1 set security ipsec vpn ike-vpn vpn-monitor source-interface st0.1 set security ipsec vpn ike-vpn vpn-monitor destination-ip 4.0.0.1 set security ipsec vpn ike-vpn ike gateway ike-gw set security ipsec vpn ike-vpn ike ipsec-policy vpn-policy1 Level, and then enter commit from configuration mode. To quickly configure this example, copy theįollowing commands, paste them into a text file, remove any line breaks,Ĭhange any details necessary to match your network configuration,Ĭopy and paste the commands into the CLI at the hierarchy To the VPN tunnel as long as the security policy action is permit. It finds a static route through the st0 interface. When Junos OS looks up routes in the user logical system toįind the interface to use to send traffic to the destination address, Static route to the destination with the st0 interface Security policy that permits traffic to a specified destination. The user logical system administrator must make the following configurations: User logical system to be sent to the VPN tunnel for encapsulation, Interface assigned to their user logical system.įor route-based VPNs, a security policy refers to a destinationĪddress and not a specific VPN tunnel.

The user logical system administrator cannot delete an st0 The user logical system administrator can configure the IP addressĪnd other attributes of the st0 interface assigned to the user logical

System, as an SA cannot be set up for this interface. The st0 unit 0 interface should not be assigned to a logical
