日期:2014-05-17  浏览次数:20847 次

双网卡访问内网
我有一台2003服务器,装了双网卡,一块网卡直接接外网(设置了网管),另外一块网卡接内网(无网关),然后连到一台路由器上,现在我想让这台服务器,通过那台路由器访问VPN通道,如何做,路由列表如下:

Active Routes:
Network Destination Netmask Gateway Interface Metric
  0.0.0.0 0.0.0.0 61.130.100.X 61.130.100.X 30
  61.0.0.0 255.0.0.0 61.130.100.X 61.130.100.X 30
  61.130.100.X 255.255.255.255 127.0.0.1 127.0.0.1 30
  61.255.255.255 255.255.255.255 61.130.100.X 61.130.100.X 30
  127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
  192.168.7.0 255.255.255.0 192.168.7.16 192.168.7.16 20
  192.168.7.16 255.255.255.255 127.0.0.1 127.0.0.1 20
  192.168.7.255 255.255.255.255 192.168.7.16 192.168.7.16 20
  224.0.0.0 240.0.0.0 61.130.100.X 61.130.100.X 30
  224.0.0.0 240.0.0.0 192.168.7.16 192.168.7.16 20
  255.255.255.255 255.255.255.255 61.130.100.X 61.130.100.X 1
  255.255.255.255 255.255.255.255 192.168.7.16 192.168.7.16 1
Default Gateway: 61.130.100.X

------解决方案--------------------

路由器的IP 和 VPN通道对端的网段是什么?
手工添加下 路由表不阿

比如
route add add 192.168.8.0 mask 255.255.255.0 192.168.7.1 metric 1
目标网段 子网掩码 网关 跳跃数