有时我必须使用 SonicWall VPN(版本 4.9)连接到我的办公室。当 VPN 开启时,我无法访问网络中的任何本地计算机/打印机。
我的本地网络是 192.168.2.0/24,这是我不使用 VPN 的路由表:
IPv4 Route Table = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.168 20 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.2.0 255.255.255.0 On-link 192.168.2.168 276 192.168.2.168 255.255.255.255 On-link 192.168.2.168 276 192.168.2.255 255.255.255.255 On-link 192.168.2.168 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.2.168 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.2.168 276 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Persistent Routes: None
但是当我打开VPN时,我的路由表是:
IPv4 Route Table = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.168 21 0.0.0.0 0.0.0.0 On-link 10.160.0.56 2 10.0.0.120 255.255.255.255 On-link 10.160.0.56 2 10.120.1.2 255.255.255.255 On-link 10.160.0.56 2 10.160.0.0 255.255.254.0 On-link 10.160.0.56 257 10.160.0.56 255.255.255.255 On-link 10.160.0.56 257 10.160.1.255 255.255.255.255 On-link 10.160.0.56 257 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.2.0 255.255.255.0 On-link 192.168.2.168 276 192.168.2.168 255.255.255.255 On-link 192.168.2.168 276 192.168.2.255 255.255.255.255 On-link 192.168.2.168 276 204.9.165.163 255.255.255.255 192.168.2.1 192.168.2.168 20 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.2.168 276 224.0.0.0 240.0.0.0 On-link 10.160.0.56 257 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.2.168 276 255.255.255.255 255.255.255.255 On-link 10.160.0.56 257 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Persistent Routes: None
第二个表中的哪条规则造成了这种情况?我应该使用什么命令来删除有问题的规则?
请帮忙。TIA!
答案1
它是 VPN 客户端。您的管理员可以配置 VPN,以通过 VPN 隧道路由所有流量。
具体来说,VPN 网关的指标低于常规 LAN:
IPv4 Route Table
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.168 21 <-----
0.0.0.0 0.0.0.0 On-link 10.160.0.56 2 <-----