Thursday, August 24, 2023

思科GRE VPN配置

路由器A:

公网IP:59.57.247.xxx

内网IP:10.77.0.0/16

配置:

interface Tunnel6

 ip address 10.0.60.1 255.255.255.0

 tunnel source 59.57.247.xxx

 tunnel destination 117.28.239.xxx

ip route 192.168.0.0 255.255.0.0 Tunnel6

 

路由器B:

公网IP:117.28.239.xxx

内网IP:192.168.0.0/16

配置:

interface Tunnel6

 ip address 10.0.60.2 255.255.255.0

 ip tcp adjust-mss 1400 (可选) 

 keepalive 5 4 (可选 Keepalives are sent every 5 seconds and 4 retries.)

 tunnel source 117.28.239.xxx

 tunnel destination 59.57.247.xxx

ip route 10.77.0.0 255.255.0.0 Tunnel6

 

查看隧道状态

show ip interface brief

show ip interface

show ip route

show ip interface tunnel 6

show interface tunnel 6


禁用笔记本自带的键盘

sc config i8042prt start=disabled  禁用 sc config i8042prt start=auto  启用