LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 721|回复: 3

关于kingate开代理的问题

[复制链接]
发表于 2006-8-10 10:15:40 | 显示全部楼层 |阅读模式
由于想开一个sock5代理,所以用kingate
开代理的机子:双网卡,一个接ADSL,一个接校园网,ip为10.2.2.211
route显示如下:
Destination Gateway Genmask Flags Metric Ref Use Iface
cpe-24-24-24-24 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.1.32.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
10.0.0.0 10.2.2.1 255.0.0.0 UG 0 0 0 eth0
default cpe-24-24-24-24 0.0.0.0 UG 0 0 0 ppp0

启动kingate后可以代理校内,但上不了校外
同样的route配置用squid就可以代理出校外,在那台主机上也可以既上校内也上校外
没有想清楚是什么原因
各位帮忙看一下,多谢
发表于 2006-8-10 11:06:11 | 显示全部楼层
贴出ifconfig的结果
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-11 12:21:19 | 显示全部楼层
ifconfig的结果

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:53:E2:8A
          inet addr:10.2.2.211  Bcast:10.2.2.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fe53:e28a/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1909491 errors:0 dropped:0 overruns:0 frame:0
          TX packets:547417 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:270677295 (258.1 MiB)  TX bytes:514484897 (490.6 MiB)
          Interrupt:11 Base address:0xc000

eth1      Link encap:Ethernet  HWaddr 00:0D:61:95:71:81
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:61ff:fe95:7181/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:741378 errors:0 dropped:0 overruns:0 frame:0
          TX packets:686767 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:540860972 (515.8 MiB)  TX bytes:163778239 (156.1 MiB)
          Interrupt:11 Base address:0xc400

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5746 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7920528 (7.5 MiB)  TX bytes:7920528 (7.5 MiB)

ppp0      Link encapoint-to-Point Protocol
          inet addr:221.216.138.133  P-t-P:24.24.24.24  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:43654 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52693 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:10822358 (10.3 MiB)  TX bytes:36444004 (34.7 MiB)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-11 12:24:06 | 显示全部楼层
没有用iptables,不会用 -_-
squid可以用,就是这个路由和这个ifconfig
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表