H3C 路由器NAT及远程telnet配置

<H3C>display cu
#
acl number 2000
 rule 1 permit source 172.0.0.0 0.255.255.255
 rule 2 permit source 160.0.4.0 0.0.0.255
 rule 3 permit source 173.66.66.0 0.0.0.255
#
vlan 1
#
local-user XX用户名
 password cipher $c$3$CTWtbnxTybKxC10pT7uUvrZHmk1YLr0e 用户密码
 authorization-attribute level 3
 service-type telnet
 service-type web
#
interface Ethernet0/0
 port link-mode route
 ip address 192.168.1.1 255.255.255.0
#
interface NULL0
#
interface GigabitEthernet0/0
 port link-mode route
 ip address 172.168.188.188 255.255.255.0
#
interface GigabitEthernet0/1
 port link-mode route
 nat outbound 2000
 ip address 公网地址 子网掩码
 ip route-static 0.0.0.0 0.0.0.0 183.129.159.1

你可能感兴趣的:(NAT,路由器,h3c,远程telnet配置)