打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Add security group rules--(添加安全组规则)

 Add security group rules

添加安全组规则

The following procedure shows you how to add rules to the default security group.

 下面的步骤将引导你如何添加规则到默认安全组。

To add rules to the default security group

添加规则到默认安全组

  1. Log in to the OpenStack dashboard.

    第一步:登录OpenStack控制面板

  2. If you are a member of multiple projects, select a project from the drop-down list at the top of the Project tab.

    第二步:如果你是多个项目组的成员,请在项目tab页的顶部的下拉菜单列表中选择一个项目。

  3. Click the Access & Security category.

    第三步:点击“访问与安全”栏目。

    The dashboard shows the security groups that are available for this project.

    OpenStack控制面板上将显示这个项目的所有可用的安全组。

     

    Figure 3. OpenStack dashboard – Security Groups

    图3----OpenStack控制面板--安全组


  4. Select the default security group and click Edit Rules.

    第四步:选择默认安全组,点击“编辑规则”链接。

    The Security Group Rules page appears:控制面

     下面是安全组规则页面的显示示例:

    Figure 4. OpenStack dashboard – Security Group Rules

    图4----OpenStack控制面板--安全组规则


  5. Add a TCP rule

    第五步:添加一个TCP规则

    Click Add Rule.

    点击“添加规则”

    The Add Rule window appears.

    添加规则的窗口显示如下:

    1. In the IP Protocol list, select TCP. (在IP协议列表中,选择TCP。)

    2. In the Open list, select Port.(在“开放”列表中,选择Port)

    3. In the Port box, enter 22. (在端口输入框,输入22)

    4. In the Source list, select CIDR. (在Source列表中,选择CIDR)

    5. In the CIDR box, enter 0.0.0.0/0.(在“无类域内路由”输入框中,输入0.0.0.0/0)

    6. Click Add. (点击“添加”)

      Port 22 is now open for requests from any IP address.

      现在,端口22就为所有IP地址的请求开放了。

      If you want to accept requests from a particular range of IP addresses, specify the IP address block in theCIDR box.

      如果你想只接爱指定范围的IP地址的请求,则需要在CIDR输入框中指定IP地址。

  6. Add an ICMP rule

    第六步:添加ICMP规则

    Click Add Rule

    点击“添加规则”

    The Add Rule window appears.

    添加规则的窗口显示如下:

    1. In the IP Protocol list, select ICMP.  (在IP协议列表中,选择ICMP)

    2. In the Type box, enter -1. (在“类型”输入框中,输入-1)

    3. In the Code box, enter -1. (在“代码”输入框中,输入-1)

    4. In the Source list, select CIDR. (在“Source”列表中,选择CIDR)

    5. In the CIDR box, enter 0.0.0.0/0.  (在CIDR输入框中,输入0.0.0.0/0)

    6. Click Add.  (点击“添加”)

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
2021下半年网络工程师11月下午真题+答案解析
华为防火墙安全策略的详细介绍
Firewalld
高级路由ip rule
Linux环境下基于策略的路由---web开发者手册
acl规则设置:如何用ACL规则设置VLan不能互访
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服