始创于2000年 股票代码:831685
咨询热线:0371-60135900 注册有礼 登录
  • 挂牌上市企业
  • 60秒人工响应
  • 99.99%连通率
  • 7*24h人工
  • 故障100倍补偿
您的位置: 网站首页 > 帮助中心>文章内容

juniper srx650防护防火墙公网IP被攻击方法

发布时间:  2012/5/25 19:37:43

内网通过源地址的NAT上网,通常情况下,这个公网IP是防火墙的IP,即内网公网IP。这个IP默认情况下管理员为了便于管理,会打开http、https、ssh等端口。这样容易被外网的人猜测到密码。现采取以下措施:
  开放系统的相关服务:
  set security zones security-zone untrust interfaces ge-0/0/0.0 host-inbound-traffic system-services ssh
  set system services ssh
  set system services telnet
  set system services web-management http interface ge-0/0/3.0
  set system services web-management https system-generated-certificate
  set system services web-management https interface ge-0/0/1.0
  set security zones security-zone trust host-inbound-traffic system-services all
  set security zones security-zone trust host-inbound-traffic protocols all
  set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services dhcp
  set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services ping
  set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services http
  set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services https
  set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services ssh
  现思路如下:
  将该公网的ip的服务关闭,然后将防火墙内网IP的管理端口映射到其它公网的某个端口
  delete security zones security-zone untrust interfaces ge-0/0/0.0 host-inbound-traffic system-services ssh
  /*/建立元素
  set security zones security-zone trust address-book address juniper2541 192.168.254.1/32
  #建立NAT
  set security nat destination pool 2541 address 192.168.254.1/32
  set security nat destination pool 2541 address port 22
  set security nat destination rule-set 1 rule 2541 match source-address 0.0.0.0/0
  set security nat destination rule-set 1 rule 2541 match destination-address 113.106.95.x/32
  set security nat destination rule-set 1 rule 2541 match destination-port 1055
  set security nat destination rule-set 1 rule 2541 then destination-nat pool 2541
  #建立策略
  set security policies from-zone untrust to-zone trust policy yc2541 match source-address any
  set security policies from-zone untrust to-zone trust policy yc2541 match destination-address juniper2541
  set security policies from-zone untrust to-zone trust policy yc2541 match application juniper1055
  set security policies from-zone untrust to-zone trust policy yc2541 then permit

亿恩科技地址(ADD):郑州市黄河路129号天一大厦608室 邮编(ZIP):450008 传真(FAX):0371-60123888
   联系:亿恩小凡
   QQ:89317007
   电话:0371-63322206
 


本文出自:亿恩科技【www.enkj.com】

服务器租用/服务器托管中国五强!虚拟主机域名注册顶级提供商!15年品质保障!--亿恩科技[ENKJ.COM]

  • 您可能在找
  • 亿恩北京公司:
  • 经营性ICP/ISP证:京B2-20150015
  • 亿恩郑州公司:
  • 经营性ICP/ISP/IDC证:豫B1.B2-20060070
  • 亿恩南昌公司:
  • 经营性ICP/ISP证:赣B2-20080012
  • 服务器/云主机 24小时售后服务电话:0371-60135900
  • 虚拟主机/智能建站 24小时售后服务电话:0371-60135900
  • 专注服务器托管17年
    扫扫关注-微信公众号
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 亿恩科技 版权所有  地址:郑州市高新区翠竹街1号总部企业基地亿恩大厦  法律顾问:河南亚太人律师事务所郝建锋、杜慧月律师   京公网安备41019702002023号
      0
     
     
     
     

    0371-60135900
    7*24小时客服服务热线