Solution to the company LAN after dialing VPN

  
        

Recently, I dialed the VPN at home and found that I couldn't access the company's intranet after dialing. I asked other colleagues, they had no problem, they couldn't understand, and they checked the information online, saying that ISA needs to set a policy to allow access to the intranet. ISA server settings, the strategy already exists, why can't you access it?
View the routing table of the home computer cmd route print After dialing vpn, the routing table becomes The following look According to the routing table, if you want to access the network of the company's intranet 192.168.1.0/24, you can't access it because there is a routing table rule of 192.168.1.0 255.255. 255.0 192.168.1.109 192.168.1.109 20 packets will go to the interface 192.168.1.109. If you want to access the company intranet, you should modify this route, let it go 172.18.0.10. Manually add a route C:\\ >route add 192.168.1.0 mask 255.255.255.0 172.16.0.10 Look at the routing table. The priority of this new rule is 1. Higher than the original rule 20. Use tracert to verify C:\\>tracert 192.168. 1.161 Tracing route to yw-05.chinabank.net. Cn [192.168.1.161]over a maximum of 30 hops: 1 30 ms 31 ms 31 ms bogon [172.16.0.1] 2 29 ms 30 ms 30 ms yw-05.chinabank.net.cn [192.168. 1.161] Trace complete. Ok, now you can reach the intranet. It seems to be a routing problem. If you don't want to manually add a route, you can change the machine's ip to 192.168.0.0/24 The network segment, so it will not overlap with the company's 192.168.1.0/24. As can be seen from the figure below. Because there is no routing table rule corresponding to 192.168.1.0, it is out of the default route 0.0.0.0 172.16.10.9. So you can access it normally. 嘻嘻. The last small problem. Although the route is open, the remote desktop still can't connect. The colleague said that the default gateway of the company computer must be set to ISA proxy server. The IP address can only be logged in remotely to machines whose default gateway is the IP address of the ISA proxy server.

Copyright © Windows knowledge All Rights Reserved