前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >IPSec in IBM SoftLay

IPSec in IBM SoftLay

作者头像
py3study
发布2020-01-14 16:04:01
1.9K0
发布2020-01-14 16:04:01
举报
文章被收录于专栏:python3python3

(3)Customer end: Juniper SRX Firewall (policy based ×××)

  1. Phase 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 md5

set security ike proposal ike-phase1-proposal encryption-algorithm 3des-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 "$9$OmpvBhyleWx-wvWjkq.5TRhSylMLxN-bsKvJG"

set security ike gateway SL ike-policy ike-phase1-policy

set security ike gateway SL address x.x.x.x

set security ike gateway SL external-interface ge-0/0/0.0

2. Phase 2

set security ipsec proposal ipsec-phase2-proposal authentication-algorithm hmac-md5-96

set security ipsec proposal ipsec-phase2-proposal encryption-algorithm 3des-cbc

set security ipsec policy ipsec-phase2-policy perfect-forward-secrecy keys group2

set security ipsec policy ipsec-phase2-policy proposals ipsec-phase2-proposal

set security ipsec *** SL××× ike gateway SL

set security ipsec *** SL××× ike proxy-identity local 192.168.109.0/24

set security ipsec *** SL××× ike proxy-identity remote 10.66.24.0/26

set security ipsec *** SL××× ike proxy-identity service any

set security ipsec *** SL××× ike ipsec-policy ipsec-phase2-policy

3. Security Policy (Inbound)

set security policies from-zone trust to-zone untrust policy outbound_*** match source-address local_network

set security policies from-zone trust to-zone untrust policy outbound_*** match destination-address SL-net

set security policies from-zone trust to-zone untrust policy outbound_*** match application any

set security policies from-zone trust to-zone untrust policy outbound_*** then permit tunnel ipsec-*** SL×××

set security policies from-zone trust to-zone untrust policy outbound_*** then count

4. Security Policy (Outbound)

set security policies from-zone untrust to-zone trust policy inbound_*** match source-address SL-net

set security policies from-zone untrust to-zone trust policy inbound_*** match destination-address local_network

set security policies from-zone untrust to-zone trust policy inbound_*** match application any

set security policies from-zone untrust to-zone trust policy inbound_*** then permit tunnel ipsec-*** SL×××

set security policies from-zone untrust to-zone trust policy inbound_*** then count

5.Routing

set routing-options static route 0.0.0.0/0 next-hop 10.1.1.1

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019-07-05 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档