当我连接/打开AnyConnect(VPN)时,RDP消失

时间:2019-02-05 18:42:55

标签: routes vpn rdp

我有两台机器:

  1. 主控(IP:192.168.0.155)

  2. 从站(IP:192.168.0.3)

该网络的网关为:192.168.0.1

我正在通过RDP连接到从设备(都赢得了10x64 Pro),一切都很好。 现在,我想从从服务器连接,并为此目的将RDP会话保持为使用Cisco AnyConnect的VPN。

我设法连接到VPN,但是一旦连接到VPN,我的RDP会话就会死掉。

我当然可以先从Slave设置VPN会话,然后再尝试通过RDP连接到该计算机,但是不幸的是,路由发生了变化,无法从 Master 连接到通过RDP从站

从设备计算机上连接到VPN后的路由表:

路线打印-4

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1      192.168.0.3     50
          0.0.0.0          0.0.0.0         10.7.0.1        10.7.0.25      2
         10.7.0.0    255.255.255.0         On-link         10.7.0.25    257
        10.7.0.25  255.255.255.255         On-link         10.7.0.25    257
       10.7.0.255  255.255.255.255         On-link         10.7.0.25    257
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  172.110.204.217  255.255.255.255      192.168.0.1      192.168.0.3     51
      192.168.0.1  255.255.255.255         On-link       192.168.0.3     51
      192.168.0.3  255.255.255.255         On-link       192.168.0.3    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link       192.168.0.3    306
        224.0.0.0        240.0.0.0         On-link         10.7.0.25    257
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link       192.168.0.3    306
  255.255.255.255  255.255.255.255         On-link         10.7.0.25    257
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0         10.7.0.1       1
===========================================================================

ipconfig

Ethernet adapter Ethernet 2:

   IPv6 Address. . . . . . . . . . . : 2620:121::6e
   Link-local IPv6 Address . . . . . : fe80::d8f6:ac5:ccd6:a636%3
   IPv4 Address. . . . . . . . . . . : 10.7.0.25
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : ::
                                       10.7.0.1

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . : local
   IPv6 Address. . . . . . . . . . . : 2a02:a311:413c:2e80:1166:72e6:1d60:f3cc
   Temporary IPv6 Address. . . . . . : 2a02:a311:413c:2e80:6812:c8d0:eb78:2b93
   Link-local IPv6 Address . . . . . : fe80::1166:72e6:1d60:f3cc%4
   IPv4 Address. . . . . . . . . . . : 192.168.0.3
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : fe80::20b:ff:fe00:add0%4
                                       192.168.0.1

我应该如何更改路由表以保持RDP连接并连接到VPN?

谢谢

0 个答案:

没有答案