https://serverfault.com/questions/548888/connecting-to-a-remote-server-through-a-vpn-when-the-local-network-subnet-addres/835400#835400
added my desired destination server (192.168.1.100) to my routing table on my linux client via:
route add 192.168.1.100 dev tun0
route add
-host 10.1.101.145 -interface [vpn interface name]
Windows cmd
route print
使用中的路由:
網路目的地 網路遮罩 閘道 介面 計量
0.0.0.0 0.0.0.0 10.1.187.254 10.1.184.23 10
10.1.184.0 255.255.252.0 在連結上 10.1.184.23 266
10.1.184.23 255.255.255.255 在連結上 10.1.184.23 266
:::
route add 192.168.99.0 mask 255.255.255.0 192.168.1.1
http://ctwivan.blogspot.tw/2010/08/windowsstatic-route.html
http://blog.xuite.net/ganpin917/home/49852565-%E9%9B%BB%E8%85%A6%E5%8F%8AServer+%E6%89%8B%E5%8B%95%E5%A2%9E%E5%8A%A0%E8%B7%AF%E7%94%B1
How-To: Route Print (Mac OS X)
https://www.unh.edu/it/kb/article/how-to-route-print-mac-os-x.html
netstat -nr
沒有留言:
張貼留言