免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1564 | 回复: 1
打印 上一主题 下一主题

RHEL 有关 socks5的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-12-14 11:37 |只看该作者 |倒序浏览
我用RHEL 5.5 + socks5-1.0r11-3 做了一简单的代理平台,可用proxifier登录的时候提示连接失败

/etc/socks5.conf配置如下

# A Socks5 Config file for which requires using gssapi
#
# Auth lines are of the form:
# auth source-host source-port auth-methods
#auth - - k
# Permit lines are of the form:
#permit auth-methods cmd src-host dest-host src-port dest-port [userlist]
#deny auth-methods cmd src-host dest-host src-port dest-port [userlist]
#permit k - - - - -
set SOCKS5_BINDINFC 0.0.0.0:1881
set SOCKS5_NOIDENT
set SOCKS5_TIMEOUT 15
#set SOCKS5_V4SUPPORT
auth     - - u
set SOCKS5_PWDFILE /etc/socks5.passwd                                   
permit -       -       -       -       -      


/etc/socks5.passwd  里面设置了一个帐号密码

不知道代理服务器是否跟我的iptables有关,我把iptables也帖上来有空的朋友,帮我看看,谢谢


[root@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  anywhere             anywhere            

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     esp  --  anywhere             anywhere            
ACCEPT     ah   --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited
[root@localhost ~]#

论坛徽章:
0
2 [报告]
发表于 2010-12-14 11:40 |只看该作者
会不会是我iptables搞错了,请大家指教
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP