|
我是在FC2上安装的kingate1.6,编译安装都很顺利,但是我启动了kingate作内网客户机代理的时候,发现没有一台客户机能上网,之前用rc.local可以上网的.下面是我的kingate配置文件内容,麻烦个位帮我找找原因
access.conf:
first allow 原来是deny时也无法上网
model allow 同上
{ manage * !127.0.0.1 * }
model allow
{ * * * * }
#####################################################
kingate.conf:
#the kingate config file
#service
#if you don't want open one service ,please set it off
http on
ftp on
pop3 on
smtp on
telnet on
socks on
mms on
rtsp on
manage on
bind_addr 192.168.0.1 这是我这台服务器的内网IP
bind_addr 218.75.95.86 这是外网IP,之前没有这行客户机也无法上网,所以我加了这条.
run_user root
max 30
#max thread limit.
max_per_ip 0
#thread number limit for every ip address.if the value is 0 ,mean no limit.
min_free_thread 3
#the min_free_thread first add in v1.5.
#[http]
http_port 8082
#http listen port
http_accelerate off
#be care for don't set http_accelerate to on when you use kingate proxy http protocol
#you must set it on when you use kingate to accelerate the http server
#when you use kingate to accelerate the http server Please add
#http_redirect { * * http_host:http_port none }
x_forwarded_for off
#add the client ip(who use kingate http proxy) in the http request head
http_time_out 300
#time out in http service.(sec)
#use http redirect ,for second proxy.
#http_redirect { dst[/dst_mask][] file redirect_host:redirect_port flag }
#http_redirect { * * 210.15.29.16:80 none }
#http_redirect { 211. * 210.15.29.16:8082 proxy }
#[ftp]
ftp_port 2121
ftp_time_out 300
#[pop3]
pop3_port 1100
pop3_time_out 300
#[smtp]
smtp_port 2525
smtp_time_out 300
#[telnet]
telnet_port 2323
telnet_time_out 300
#[socks]
socks_port 1082
socks_time_out 300
socks5_user off
#[mms]
mms_port 1755
mms_time_out 300
#[rtsp]
rtsp_port 5540
rtsp_time_out 300
#[manage]
manage_port 2222
manage_time_out 300
#log section
log_model user
log_level 2
log_rotate { 0 0 * * * }
log_close_msg off
#the log_close_msg first add in v1.5 when it on the kingate will log the connect close msg to log_file.
#and when it set off kingate won't log the connect close msg to log_file
#缓存部分
#cache section
mem_min_cache 10m
mem_max_cache 20m
disk_min_cache 100m
disk_max_cache 200m
use_disk_cache on
refresh never
refresh_time 0
#端口重定向
#redirect port_hostort #端口重定向功能,所有port端口的请求发送至hostort
#redirect 9999_211.141.90.201:23
#redirect 3333_127.0.0.1:23
#[user]
user_time_out 0
#set the user login time out
####################################################
我的设备eth0连接电信光纤,eth1连接内网交换机.
另外防火墙设定信任的服务只选了telnet,信任的设备是eth1.其它端口443:tcp,5900:tcp
麻烦各位帮小弟看看,谢谢了 |
|