找回密码
 注册
查看: 958|回复: 4

关于透明代理的问题!!!!!求教啊!!!!!

[复制链接]
发表于 2006-6-18 11:05:58 | 显示全部楼层 |阅读模式
我用的是 fedra core 4
客户端浏览网页出现错误!!如下::
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://translate.google.com/translate?

The following error was encountered:

Read Error
The system returned:

    (104) Connection reset by peerAn error condition occurred while reading data from the network. Please retry your request.

Your cache administrator is root.



--------------------------------------------------------------------------------

Generated Sun, 18 Jun 2006 02:56:36 GMT by linux (squid/2.5.STABLE9)
~~~~~~~~~~~~~~~~~~~~~~~~~
是不是我的cache满了/
怎么维护啊 !!!
具体怎么修改啊!!
发表于 2006-6-22 02:52:27 | 显示全部楼层
不明白透明代理是什么意思 `~~
不过如果你需要通过客户端设置代理主机ip为网关上网可以这样 ~~

echo 1 > /proc/sys/net/ipv4/ip_forward
打开ip转发```

为网卡设置ip
跟着增加相应网络
如route add -net 172.16.0.0 netmask 255.255.0.0
这样~~
最后增加一个默认网关```
route add default gw 172.16.1.100
也就是你的internet连接~~~

理论上就ok了~~~
回复

使用道具 举报

发表于 2006-6-22 02:58:53 | 显示全部楼层
翻了一下课本`~squid这个东西只代理http协议的东西~~~

应该只能叫http的透明代理~~~
回复

使用道具 举报

 楼主| 发表于 2006-6-22 17:42:42 | 显示全部楼层
有这么简单吗?
那样好像不行啊!!
还要设置防火墙啊!!!!
回复

使用道具 举报

发表于 2006-6-27 19:37:29 | 显示全部楼层
[quote="xyyie"]有这么简单吗?
那样好像不行啊!!
还要设置防火墙啊!!!![/quote]

防火墙是iptables的事..............
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-7-20 00:29 , Processed in 0.043914 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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