




已阅读5页,还剩7页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
简述环境:1.双ISP,两个服务器6.6和6.8对外开放17991端口2.trust-vr和untrust-vr同在,zone untrust被修改到untrust-vr中3.6.6 VIP 180的地址,6.8 MIP 221的地址,应用源路由其实东西也不多,不过没配过的我开始真不知道如何配置juniper的地址转换set clock ntpset clock timezone 8set clock dst recurring start-weekday 2 0 3 02:00 end-weekday 1 0 11 02:00set vrouter trust-vr sharableset vrouter untrust-vrexitset vrouter trust-vrunset auto-route-exportexit-若防火墙里没有你所用的服务就自己加吧-set service 17991 protocol tcp src-port 0-65535 dst-port 17991-17991set service 3389 protocol tcp src-port 0-65535 dst-port 3389-3389set alg appleichat enableunset alg appleichat re-assembly enableset alg sctp enableset auth-server Local id 0set auth-server Local server-name Localset auth default auth server Localset auth radius accounting port 1646set admin name netscreenset admin password nJqNNxrLGyrLc0lEtsCBqfDtDMA/Pnset admin user hongyuan password nNnfG0rrJIWDcc8EysvMuSCt+LBiDn privilege all-如果要添加管理ip,别忘了添加内部网段地址,第一次我只加了远端的公网地址,导致内部要配置却进不去,只能console了。-set admin manager-ip 192.168.6.0 255.255.255.0set admin manager-ip 114.255.150.140 255.255.255.255set admin manager-ip 219.141.171.130 255.255.255.255set admin auth web timeout 10set admin auth server Localset admin format dosset zone Trust vrouter trust-vr-Untrust默认是在 trust-vr里的,我给改了-set zone Untrust vrouter untrust-vrset zone DMZ vrouter trust-vrset zone VLAN vrouter trust-vrset zone Untrust-Tun vrouter trust-vrset zone Trust tcp-rstset zone Untrust blockunset zone Untrust tcp-rstset zone MGT blockset zone DMZ tcp-rstset zone VLAN blockunset zone VLAN tcp-rstset zone Trust screen limit-session source-ip-basedset zone Trust screen limit-session destination-ip-basedset zone Untrust screen alarm-without-dropset zone Untrust screen on-tunnelset zone Untrust screen icmp-floodset zone Untrust screen udp-floodset zone Untrust screen winnukeset zone Untrust screen port-scanset zone Untrust screen ip-sweepset zone Untrust screen tear-dropset zone Untrust screen syn-floodset zone Untrust screen ip-spoofingset zone Untrust screen ping-deathset zone Untrust screen ip-filter-srcset zone Untrust screen landset zone Untrust screen syn-fragset zone Untrust screen tcp-no-flagset zone Untrust screen unknown-protocolset zone Untrust screen ip-bad-optionset zone Untrust screen ip-record-routeset zone Untrust screen ip-timestamp-optset zone Untrust screen ip-security-optset zone Untrust screen ip-loose-src-routeset zone Untrust screen ip-strict-src-routeset zone Untrust screen ip-stream-optset zone Untrust screen icmp-fragmentset zone Untrust screen icmp-largeset zone Untrust screen syn-finset zone Untrust screen fin-no-ackset zone Untrust screen limit-session source-ip-basedset zone Untrust screen syn-ack-ack-proxyset zone Untrust screen block-fragset zone Untrust screen limit-session destination-ip-basedset zone Untrust screen icmp-idset zone V1-Untrust screen tear-dropset zone V1-Untrust screen syn-floodset zone V1-Untrust screen ping-deathset zone V1-Untrust screen ip-filter-srcset zone V1-Untrust screen landset zone Untrust screen limit-session source-ip-based 512set zone Untrust screen limit-session destination-ip-based 512set interface ethernet0/0 zone Trustset interface ethernet0/1 zone V1-Trustset interface ethernet0/2 zone V1-Trustset interface ethernet0/8 zone Untrustset interface ethernet0/9 zone Untrust-两条互联网在一个区域set interface ethernet0/0 ip 192.168.6.2/24set interface ethernet0/0 nat-内网口启动NAT,去往untrust区或dmz区都 会触发nat,除非把防火墙配成透传模式unset interface vlan1 ipset interface ethernet0/8 ip 221.7.199.182/29set interface ethernet0/8 routeset interface ethernet0/9 ip 180.136.240.114/30set interface ethernet0/9 routeunset interface vlan1 bypass-others-ipsecunset interface vlan1 bypass-non-ipset interface ethernet0/9 manage-ip 180.136.240.113set interface ethernet0/0 ip manageableset interface ethernet0/8 ip manageableset interface ethernet0/9 ip manageableset interface ethernet0/8 manage pingset interface ethernet0/8 manage telnetset interface ethernet0/8 manage webset interface ethernet0/9 manage pingset interface ethernet0/9 manage telnetset interface ethernet0/9 manage web-server auto detection开启,防火墙会自动ping这台内部地址,如果无法通信,status就是down-set interface ethernet0/9 vip interface-ip 3389 3389 192.168.6.6set interface ethernet0/9 vip interface-ip 17991 17991 192.168.6.6set interface ethernet0/8 vip interface-ip 3389 3389 192.168.6.21-看,是这里-若你有同网段多个ip地址可以用mip,注意我把它放在untrust-vr了-set interface ethernet0/8 mip 221.7.199.179 host 192.168.6.8 netmask 255.255.255.255 vr untrust-vrunset flow no-tcp-seq-checkset flow tcp-syn-checkunset flow tcp-syn-bit-checkset flow reverse-route clear-text preferset flow reverse-route tunnel alwaysset pki authority default scep mode autoset pki x509 default cert-path partialset address Trust 221.7.199.180/32 221.7.199.180 255.255.255.255set ike respond-bad-spi 1set ike ikev2 ike-sa-soft-lifetime 60unset ike ikeid-enumerationunset ike dos-protectionunset ipsec access-session enableset ipsec access-session maximum 5000set ipsec access-session upper-threshold 0set ipsec access-session lower-threshold 0set ipsec access-session dead-p2-sa-timeout 0unset ipsec access-session log-errorunset ipsec access-session info-exch-connectedunset ipsec access-session use-error-logset vrouter untrust-vrexitset vrouter trust-vrexitset url protocol websenseexit-juniper也有隐藏deny any any 所以,从trust到untrust要配置permit any any-set policy id 1 name PERMIT_ANY from Trust to Untrust Any Any ANY permitset policy id 1exitset policy id 2 name PERMIT_PING from Untrust to Trust Any MIP(221.7.199.179) PING permitset policy id 2exitset policy id 4 name PERMIT_CT from Untrust to Trust Any VIP(ethernet0/9) 3389 permit logset policy id 4exitset policy id 5 name PERMIT_CNC from Untrust to Trust Any MIP(221.7.199.179) 3389 permit logset policy id 5exitset policy id 6 name test from Untrust to Trust Any VIP(ethernet0/8) 3389 permit logset policy id 6exitset policy id 7 name PERMIT_CT_17991 from Untrust to Trust Any VIP(ethernet0/9) 17991 permit logset policy id 7exitset policy id 8 name PERMIT_CNC_17991 from Untrust to Trust Any MIP(221.7.199.179) 17991 permit logset policy id 8exitset nsmgmt bulkcli reboot-timeout 60set ssh version v2set config lock timeout 5unset license-key auto-updateset ntp server 210.72.1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二零二五版知识产权许可合同创新保护
- 二零二五年度洞渣运输工程与道路绿化养护合同
- 潜水运动基础知识培训课件
- 山西工会基本知识培训课件
- 大额贷款咨询知识培训课件
- 大面值人民币课件
- 演艺影像基础知识培训课件
- 大队劳资员专业知识培训课件
- 人文医师考试题及答案
- 农业养殖面试题及答案
- 【课件】破茧 逐光-2026届新高三启航主题班会:挑战极限成就梦想(含规划指南、学法指导、心理护航)
- 听觉与健康课件
- (2025)事业单位考试(面试)试题附答案
- 遗体整形协议书
- IATF16949:2016内审员培训试卷含答案
- 2025-2030中国太阳能电池板清洁系统行业市场现状供需分析及投资评估规划分析研究报告
- 2025-2030加工芒果产品行业市场现状供需分析及投资评估规划分析研究报告
- 智能制造导论 课件 全套1-7 第1章 绪 论 - -第7章 智能制造的发展前景展望
- 大型标准化体育场馆弱电智能系统设计方案和对策
- 2025年广东汕头市投资控股集团有限公司招聘笔试参考题库含答案解析
- 《书谱》临摹字帖
评论
0/150
提交评论