LinuxSir.cn,穿越时空的Linuxsir!

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

squid代理中能上網不能收發E-MAIL?

[复制链接]
发表于 2004-9-4 12:12:54 | 显示全部楼层 |阅读模式
我配置好squid後,在IE中指定了IP和端口,結果就是能夠正常的上網,就是不能在OUTLOOK EXPRESS中收發MAIL,請各位高手給點提示,謝謝!
发表于 2004-9-4 19:14:28 | 显示全部楼层

Not only email, but also telnet.....

I get the same problem, I have opened the port 25 for the email. However, it doesn't help me to solve this problem. In fact, the squid proxy server not only block the SMTP protocol,but also telnet, socket, etc.

Could any guru help us to fix this problem? Or squid proxy server support HTTP & FTP only.
 楼主| 发表于 2004-9-6 08:24:49 | 显示全部楼层
版主,各路高手幫幫忙啊,給我們一點提示了
发表于 2004-9-6 08:33:16 | 显示全部楼层
要开nat功能,SQUID只负责80端口的网页转发,110,25,23等还是通过iptable做的nat来实现。
发表于 2004-9-6 15:03:46 | 显示全部楼层
Hi, smile787, could you show me an example to configure the iptable for telnet and email? I hope that it doesn't give you bored feeling.

Thanks in advance.
发表于 2004-9-6 21:01:24 | 显示全部楼层
fist you  mast have  more knowage about iptables in distillate

now i just tell some,hope you like.

port about telnet
iptables -A OUTPUT -o eth1(or ppp) -p tcp -s $STATIC_IP --sport 1024:65535 -d any/0 --dport 23 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp ! --syn -s any/0 --sport 23 -d $STATIC_IP --dport 1024:65535 -j ACCEPT
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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