Windows防火墙中设置仅允许特定内网IP通过远程桌面(mstsc)连接
Windows防火墙中设置仅允许特定内网IP通过远程桌面(mstsc)连接
Windows防火墙中设置仅允许特定内网IP通过远程桌面(mstsc)连接
1、选定应用:IPsec vpn;
2、配置好环境变量:
①打开文件,左下角选择管理员视角
②选择对应的磁盘,找到docker文件夹,并创建VPN文件夹;
③单击右键VPN文件夹,点击详细信息,复制原始路径:/vol1/docker/VPN(示例)
3、ssh登录飞牛,记住sudo -i 获取root权限(我用的是PuTTY):
4、创建并编辑自己的 VPN 登录凭证:
router#sh run
Building Configuration...done
! Current configuration : 1386 bytes
!
! Last configuration change at UTC THU JAN 01 00:08:55 1970
! Flash config last updated at UTC THU JAN 01 00:17:55 1970
! Configuration version 0.20
!
!software version 6.1.25(REL)(integrity)
!software p_w_picpath file flash0: /flash/rpl-c-6.1.25(REL).bin
!compiled on Nov 14 2008, 19:02:51
hostname router
no service password-encrypt
no service new-encrypt
service login-secure
ip mef
ip load-sharing per-destination
ip access-list standard 888
10 permit any
exit
interface dialer0
encapsulation ppp
ppp chap password 2292523
ppp chap hostname zz15959608008@cmcc
ppp pap sent-username zz15959608008@cmcc password 2292523
ip address negotiated
mtu 1492
dialer in-band
dialer pool 1
dialer-group 1
ip tcp adjust-mss 1452
ip nat outside
exit
interface fastethernet0
description wan
pppoe-client dial-pool-number 1
pppoe-client auto-dial always
exit
interface fastethernet1
description lan
ip address 192.168.0.1 255.255.255.0
ip nat inside
exit
interface serial0
physical-layer sync
encapsulation hdlc
exit
interface null0
exit
ip nat inside source list 888 interface dialer0 overload
ip route 0.0.0.0 0.0.0.0 dialer0
ip dhcp pool test
range 192.168.0.2 192.168.0.254 255.255.255.0
dns-server 211.138.151.161 211.138.156.66
default-router 192.168.0.1
exit
!end
SecureCRT设置需要密码才可以打开:
tools--change config pass--选择yes---退出SecureCRT---再重新打开SecureCRT---设置密码,old填空之前没有密码;取消方法:change config pass---remove pass---输入密码----退出SecureCRT---再重新打开,然后不需要密码打开
debian历史版本下载地址: