防火墙的三种连接方式

防火墙的三种连接方式

1.Telnet连接

1.在防火墙的Gigabitethernet0/0/0接口下进行配置。

interface GigabitEthernet0/0/0
 undo shutdown
 ip binding vpn-instance default
 ip address 192.168.10.2 255.255.255.0
 alias GE0/METH
 service-manage ping permit
 service-manage telnet permit

user-interface vty 0 4
protocol inbound all 
authentication-mode password
user privilege level 3
set authentication password cipher {自己配置的密码}

2.在win10上启用telnet客户端

1)打开“启用或关闭Windows功能”

找到Telnet Client并勾选后点击确定,接着进入CMD进行访问。

2.Web管理

1.在防火墙上使用以下命令开启服务。

interface GigabitEthernet0/0/0
 service-manage http permit
 service-manage https permit

2.在浏览器中输入https://192.168.10.2或是HTTP://192.168.10.2,进入到Web页面,点击详细信息,转到此页面。

3.第一栏选择语言,输入用户名与密码,进入防火墙Web页面。

3.SSH管理

1.在防火墙上使用以下命令开启服务。

interface GigabitEthernet0/0/0
 service-manage ssh permit

[USG6000V1]user-interface vty 0 4
[USG6000V1-ui-vty0-4]authentication-mode aaa 
[USG6000V1-ui-vty0-4]user privilege level 3

[USG6000V1]ssh authentication-type default password 
[USG6000V1]rsa local-key-pair create 
The key name will be: USG6000V1_Host
% RSA keys defined for USG6000V1_Host already exist.
Confirm to replace them? [y/n]:y
The range of public key size is (2048 ~ 2048). 
NOTES: If the key modulus is greater than 512, 
       it will take a few minutes.
Input the bits in the modulus[default = 2048]:
Generating keys...
..+++++
........................++
....++++
...........++

[USG6000V1]stelnet server enable  
[USG6000V1]ssh user admin
[USG6000V1]ssh user admin authentication-type password

[USG6000V1]ssh user admin service-type stelnet 

[USG6000V1]aaa  
[USG6000V1-aaa]manager-user admin    
[USG6000V1-aaa-manager-user-admin]service-type web ssh terminal 

2.在SecureCRT中新建一个连接

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值