- 论坛徽章:
- 0
|
我用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 ~]# |
|