|
Navigate to the Services>Ipsec vpn level in the
configuration hierarchy.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- Next to Services, click Configure or Edit.
- Next to Ipsec vpn, click Configure.
|
From the [edit] hierarchy level, enter
edit services ipsec-vpn
|
|
Configure a rule—for example, manualSARule—that
applies to all incoming traffic.
|
- Next to Rule, click Add new entry.
- In the Rule name box, type manualSARule.
- In the Match direction box, select input.
|
Enter
set rule manualSARule match-direction input
|
|
Configure a term¯—for example, manualSATerm—for
the rule, and the remote gateway for the IPSec tunnel—for example, 10.90.90.1.
|
- Next to Term, click Add new entry.
- In the Term name box, type manualSATerm.
- Next to Then, select the check box, and click Configure.
- In the Remote gateway box, type 10.90.90.1.
|
- Enter
edit rule manualSARule
- Enter
set term manualSATerm then remote-gateway 10.90.90.1
|
|
Configure the manual SA, and specify the direction of traffic to which
the SA is applicable—for example, bidirectional.
|
- In the Sa choice box, select Manual.
- Next to Manual, click Configure.
- Next to Direction, click Add new entry.
- In the Direction box, select bidirectional.
|
- Enter
edit term manualSATerm then
- Enter
set manual direction bidirectional
|
|
Configure the security parameter index (SPI)—for example, 1024—and
the IPSec protocol—for example, esp.
|
- In the Spi box, type 1024.
- In the Protocol box, select esp.
|
- Enter
edit manual direction bidirectional
- Enter
set spi 1024 protocol esp
|
|
Configure the authentication algorithm—for example, hmac-md5-96—and
an authentication key—for example, juniper—to be used
while establishing the manual SA.
|
- Next to Authentication, click Configure.
- In the Algorithm box, select hmac-md5-96.
- Next to Key, click Configure.
- In the Key choice box, select Ascii text.
- In the Ascii text box, type juniper.
- Click OK until you return to the Direction
page.
|
Enter
set authentication algorithm hmac-md5-96 key ascii-text juniper
|
|
Configure an encryption algorithm—for example, 3des-cbc—and
an encryption key—for example, juniper123.
|
- Next to Encryption, click Configure.
- In the Algorithm box, select 3des-cbc.
- Next to Key, click Configure.
- In the Key choice box, select Ascii text.
- In the Ascii text box, type juniper123.
- Click OK until you return to the Ipsec
vpn page.
|
Enter
set encryption algorithm 3des-cbc key ascii-text juniper123
|