• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

华三防火墙F1000如何实现准入认证,实现接入管理功能

2022-07-23提问
  • 0关注
  • 1收藏,1796浏览
粉丝:0人 关注:3人

问题描述:

现有华三防火墙F1000 如何能实现portal认证

组网及组网描述:


3 个回答
已采纳
粉丝:226人 关注:0人

您好,参考案例链接

暂无评论

粉丝:148人 关注:1人

接入管理都是再接入交换机做的,防火墙做的上网控制、区域隔离


暂无评论

粉丝:6人 关注:0人

1.31.1  Portal直接认证配置举例

1. 组网需求

·     用户主机与接入设备Device直接相连,采用直接方式的Portal认证。用户通过手工配置或DHCP获取的一个公网IP地址进行认证,在通过Portal认证前,只能访问Portal Web服务器;在通过Portal认证后,可以使用此IP地址访问非受限的互联网资源。

·     采用一台iMC服务器同时承担Portal认证服务器和Portal Web服务器的职责。iMC版本为:iMC PLAT 7.1(E0303)、iMC EIA 7.1(E0304)。

·     采用RADIUS服务器作为认证/计费服务器。

2. 组网图

图1-6 Portal直接认证配置组网图

3. 配置RADIUS服务器

完成RADIUS服务器上的配置,保证用户的认证/计费功能正常运行,具体配置步骤略。

4. 配置Portal服务器

(1)     配置Portal认证服务器。

登录进入iMC管理平台,选择“用户”页签,单击导航树中的“接入策略管理> Portal服务管理 > 服务器配置”菜单项,进入服务器配置页面。

¡     根据实际组网情况调整以下参数,本例中使用缺省配置。

图1-7 Portal认证服务器配置页面

 

(2)     配置IP地址组。

选择“用户”页签,单击导航树中的“接入策略管理> Portal服务管理 > IP地址组配置”菜单项,进入IP地址组配置页面。在该页面中单击<增加>按钮,进入增加IP地址组页面。

a.     输入IP地址组名;

b.     输入起始地址和终止地址。用户主机IP地址必须包含在该IP地址组范围内;

c.     选择业务分组,本例中使用缺省的“未分组”;

d.     选择IP地址组的类型为“普通”。

e.     单击<确定>按钮完成操作。

图1-8 增加IP地址组页面

 

 

(3)     增加Portal设备。

选择“用户”页签,单击导航树中的“接入策略管理> Portal服务管理 > 设备配置”菜单项,进入设备配置页面,在该页面中单击<增加>按钮,进入增加设备信息页面。

a.     输入设备名;

b.     指定IP地址为与接入用户相连的设备接口IP;

c.     选择支持逃生心跳为“否”。

d.     选择支持用户心跳为“否”。

e.     输入密钥,与接入设备Device上的配置保持一致;

f.     选择组网方式为“直连”;

g.     其它参数采用缺省值;

h.     单击<确定>按钮完成操作。

图1-9 增加设备信息页面

 

(4)     设备关联IP地址组

在设备配置页面中的设备信息列表中,点击NAS设备的<端口组信息管理>链接,进入端口组信息配置页面。

图1-10 设备信息列表

 

在端口组信息配置页面中点击<增加>按钮,进入增加端口组信息页面。

a.     输入端口组名;

b.     选择IP地址组,用户接入网络时使用的IP地址必须属于所选的IP地址组;

c.     其它参数采用缺省值;

d.     单击<确定>按钮完成操作。

图1-11 增加端口组信息页面

 

5. 配置Device

(1)     配置接口IP地址。

# 根据组网图中规划的信息,配置各接口的IP地址,具体配置步骤如下。

<Device> system-view

[Device] interface gigabitethernet 1/0/1

[Device-GigabitEthernet1/0/1] ip address 192.168.0.100 255.255.255.0

[Device-GigabitEthernet1/0/1] quit

请参考以上步骤配置其他接口的IP地址,具体配置步骤略。

(2)     配置接口加入安全域。

# 请根据组网图中规划的信息,将接口加入对应的安全域,具体配置步骤如下。

[Device] security-zone name dmz

[Device-security-zone-DMZ] import interface gigabitethernet 1/0/1

[Device-security-zone-DMZ] quit

[Device] security-zone name trust

[Device-security-zone-Trust] import interface gigabitethernet 1/0/2

[Device-security-zone-Trust] quit

(3)     配置安全策略

a.     配置安全策略放行Trust到DMZ安全域的流量。

# 配置名称为trust-dmz的安全策规则,用于主机Host可以访问Portal服务器,具体配置步骤如下。

[Device] security-policy ip

[Device-security-policy-ip] rule name trust-dmz

[Device-security-policy-ip-1-trust-dmz] source-zone trust

[Device-security-policy-ip-1-trust-dmz] destination-zone dmz

[Device-security-policy-ip-1-trust-dmz] source-ip-host 2.2.2.2

[Device-security-policy-ip-1-trust-dmz] destination-ip-host 192.168.0.111

[Device-security-policy-ip-1-trust-dmz] action pass

[Device-security-policy-ip-1-trust-dmz] quit

b.     配置安全策略放行DMZ与Local安全域之间的流量,用于设备Device与RADIUS服务器及Portal服务器之间的报文交互。

# 配置名称为portallocalout的安全策规则,使Device可以向RADIUS服务器及Portal发送报文,具体配置步骤如下。

[Device-security-policy-ip] rule name portallocalout

[Device-security-policy-ip-2-portallocalout] source-zone local

[Device-security-policy-ip-2-portallocalout] destination-zone dmz

[Device-security-policy-ip-2-portallocalout] destination-ip-host 192.168.0.111

[Device-security-policy-ip-2-portallocalout] destination-ip-host 192.168.0.112

[Device-security-policy-ip-2-portallocalout] action pass

[Device-security-policy-ip-2-portallocalout] quit

# 配置名称为portallocalin的安全策略规则,使Device可以接收和处理来自RADIUS服务器及Portal服务器的报文,具体配置步骤如下。

[Device-security-policy-ip] rule name portallocalin

[Device-security-policy-ip-3-portallocalin] source-zone dmz

[Device-security-policy-ip-3-portallocalin] destination-zone local

[Device-security-policy-ip-3-portallocalin] source-ip-host 192.168.0.111

[Device-security-policy-ip-3-portallocalin] source-ip-host 192.168.0.112

[Device-security-policy-ip-3-portallocalin] action pass

[Device-security-policy-ip-3-portallocalin] quit

[Device-security-policy-ip] quit

(4)     配置RADIUS方案

# 创建名称为rs1的RADIUS方案,配置发送给RADIUS服务器的用户名不携带ISP域名并开启RADIUS session control功能。

[Device] radius scheme rs1

[Device-radius-rs1] primary authentication 192.168.0.112

[Device-radius-rs1] primary accounting 192.168.0.112

[Device-radius-rs1] key authentication simple radius

[Device-radius-rs1] key accounting simple radius

[Device-radius-rs1] user-name-format without-domain

[Device-radius-rs1] quit

[Device] radius session-control enable

(5)     配置认证域

# 创建名称为dm1的ISP域,配置dm1域使用的RADIUS方案为rs1,系统缺省ISP域为dm1。

[Device] domain dm1

[Device-isp-dm1] authentication portal radius-scheme rs1

[Device-isp-dm1] authorization portal radius-scheme rs1

[Device-isp-dm1] accounting portal radius-scheme rs1

[Device-isp-dm1] quit

[Device] domain default enable dm1

(6)     配置Portal认证

# 配置Portal认证服务器newpt,在接口GigabitEthernet1/0/2上开启直接方式的Portal认证,并引用Portal Web服务器newpt。在接口GigabitEthernet1/0/2上设置发送给Portal认证服务器的Portal报文中的BAS-IP属性值。

[Device] portal server newpt

[Device-portal-server-newpt] ip 192.168.0.111 key simple portal

[Device-portal-server-newpt] port 50100

[Device-portal-server-newpt] quit

[Device] portal web-server newpt

[Device-portal-websvr-newpt] url http://192.168.0.111:8080/portal

[Device-portal-websvr-newpt] quit

[Device] interface gigabitethernet 1/0/2

[Device–GigabitEthernet1/0/2] portal enable method direct

[Device–GigabitEthernet1/0/2] portal apply web-server newpt

[Device–GigabitEthernet1/0/2] portal bas-ip 2.2.2.1

[Device–GigabitEthernet1/0/2] quit

6. 验证配置

# 以上配置完成后,通过执行以下显示命令可查看Portal配置是否生效。

[Device] display portal interface gigabitethernet 1/0/2

 Portal information of GigabitEthernet1/0/2

     NAS-ID profile: Not configured

     Authorization : Strict checking

     ACL           : Disabled

     Dual stack    : Disabled

     Dual traffic-separate: Disabled

 IPv4:

     Portal status: Enabled

     Portal authentication method: Direct

     Portal Web server: newpt(active)

     Secondary portal Web server: Not configured

     Portal mac-trigger-server: Not configured

     Authentication domain: Not configured

     Pre-auth domain: Not configured

     Extend-auth domain: Not configured

     User-dhcp-only: Disabled

     Pre-auth IP pool: Not configured

     Max portal users: Not configured

     Bas-ip: 2.2.2.1

     User detection: Not configured

     Portal temp-pass: Disabled

     Action for server detection:

         Server type    Server name                        Action

         --             --                                 --

     Layer3 source network:

         IP address               Mask

 

     Destination authenticate subnet:

         IP address               Mask

 IPv6:

     Portal status: Disabled

     Portal authentication type: Disabled

     Portal Web server: Not configured

     Secondary portal Web server: Not configured

     Portal mac-trigger-server: Not configured

     Authentication domain: Not configured

     Pre-auth domain: Not configured

     Extend-auth domain: Not configured

     User-dhcp-only: Disabled

     Pre-auth IP pool: Not configured

     Max portal users: Not configured

     Bas-ipv6: Not configured

     User detection: Not configured

     Portal temp-pass: Disabled

     Action for server detection:

         Server type    Server name                        Action

         --             --                                 --

     Layer3 source network:

         IP address                                        Prefix length

 

     Destination authenticate subnet:

         IP address                                        Prefix length

# 用户既可以使用H3C的iNode客户端,也可以通过网页方式进行Portal认证。用户在通过认证前,只能访问认证页面http://192.168.0.111:8080/portal,且发起的Web访问均被重定向到该认证页面,在通过认证后,可访问非受限的互联网资源。

# Portal用户认证通过后,可通过执行以下显示命令查看Device上生成的Portal在线用户信息。

[Device] display portal user interface gigabitethernet 1/0/2

Total portal users: 1

Username: abc

  Portal server: newpt

  State: Online

  VPN instance: N/A

  MAC                IP                 VLAN   Interface

  0015-e9a6-7cfe     2.2.2.2            --     GigabitEthernet1/0/2

  Authorization information:

    DHCP IP pool: N/A

    ACL number/name: N/A

    Inbound CAR: N/A

    Outbound CAR: N/A

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明