您的位置: 首頁>>關于我們>>行業(yè)動態(tài)
1 在HCL中添加主機,然后連接visualbox網卡和防火墻G1/0/0
2 給虛擬網卡配置ip
3 在防火墻命令行配置
<H3C>system-view
[H3C]sysname fw-1
[fw-1]ip http enable
[fw-1]interface g1/0/0 //接口ip,根據所連接的網卡進行改動
[fw-1-GigabitEthernet1/0/0]ip address 10.19.4.250 22
[fw-1-GigabitEthernet1/0/0]qu
[fw-1]ip https enable
[fw-1]security-zone name trust //安全域
[fw-1-security-zone-Trust]import interface g1/0/0 //把接口加入安全域
[fw-1-security-zone-Trust]qu
[fw-1]object-policy ip manage
[fw-1-object-policy-ip-manage]rule pass //規(guī)則動作
[fw-1-object-policy-ip-manage]zone-pair security source trust destination local //域間應用
[fw-1-zone-pair-security-Trust-Local]object-policy apply ip manage //創(chuàng)建對象策略
[fw-1]local-user admin class manage //創(chuàng)建登入web的用戶名和密碼
[fw-1-luser-manage-admin]password simple admin
[fw-1-luser-manage-admin]service-type http https //啟用http和https的功能
[fw-1-luser-manage-admin]authorization-attribute user-role network-admin
<fw-1>%Aug 23 12:23:14:674 2019 fw-1 WEB/5/LOGIN: -Context=1; admin 10.19.4.2
4 登錄web界面
登錄成功
行業(yè)動態(tài)