kingate is a proxy server like wingate that support
http,https,socks,pop3,smtp,telnet,ftp,mms,rtsp,dns and tcp port
redirect. kingate use http to manage that make it easy to use.
kingate is a multithread proxy server(exact it use thread pool ).
1:download kingate
visit
http://sourceforge.net/projects/kingate/ to obtain kingate
if kingate version not is windows
2:extract
tar xzf kingate-xxx.tar.gz
cd kingate-xxx
3:install
./configure --help to obtain configure help
./configure --prefix=prefix
make
make install
4:start kingate
if you first run kingate use command:
prefix/bin/kingate -z to create and format the disk cache
prefix/bin/kingate to start the kingate
prefix/bin/kingate -q to stop the kingate
if kingate versiotn is windows
2:extract
use winrar or winzip tools to extract.
3:install
c:\0>prefix\0bin\0kingate --instal
c:\0>prefix\0bin\0kingate -
4:uninstall
c:\0>prefix\0bin\0kingate --uninstal
5:start kingat
c:\0>net start kingat
6:stop kingat
c:\0>net stop kingat
7:about dnsproxy
c:\0>prefix\0bin\0dnsproxy.exe -h use_dns_host -
bindaddr -m max_threa
kingate
manag
kingate start from version 1.5 use a manage port to manage th
kingate.
open the kingate http proxy or manage proxy then you can use th
kingate
manage
you must add allow rule in access.conf file to allow the http manage
access(service is manage and group is * )
for example
first den
model deny
{ manage * !127.0.0.1 *
model allo
{ * * * *
1.Enter kingate manag
Open
the url
http://kingate_proxy_ip:manage_port/ in your browser(suc
as IE
Mozilla...
default "root" password is "kingate
2manage the kingat
after
login the kingate,you can see the following link
logout -->> logout the
kingat
chanage password -->> chanage youself password
--------------------------------------------------
if you login as root you
can see the folloing link
users -->> kingate's users manag
login
users -->> about kingate login users informatio
access -->> manage the
kingate access contro
info -->> look up the kingate running infomation
config -->> config the kingate(alert:you must reboot th
kingate to use the
new config
3.some file of kingat
prefix/bin/kingate kingate
program(version of windows is kingate.exe
prefix/bin/dnsproxy kingate dns
proxy program(version of windows i
dnsproxy.exe)
prefix/var/kingate.log kingate log file(user running by kingate mus
can
write and read the file
prefix/etc/kingate.conf kingate config file(user
running by kingat
must can write and read the file)
prefix/etc/kingate.user file of saving kingate's user(use
running by kingate
must can write and read the file
prefix/etc/access.conf kingate access
control file(user running b
kingate must can write and read the file)
prefix/etc/kingate.pid file of saving kingate's pid(user runnin
by kingate
must can write and read the file
prefix is the directory that kingate
instal
access.conf file forma
#kingate access file by sort two model,one
is allow ,another is den
,one rule is deal with the following order
#when
the rule in the first model,the rule deal by the first model
#the rule isn't
the first model. kingate will find in the anothe
model ,when find the kingate
deal by the another mode
#the rule isn't in the two model,the kingate deal by
the firs
mode
first den
model den
#the following rule is den
{ manage *
!127.0.0.1 * } {* * * * *}
#this mean deny the source ip is not 127.0.0.1
to access the manage i
all time
#other deny rul
model allo
#the following
rule is allo
{ * * * * } #this mean to allow all source ip to access all
destination ip
#{ * all * * } #this mean allow all login user to access the
kingat
#other allow rul
the rule format
{ [!]service [!]group
[!]src_ip[/src_mask]
[!]dst_ip[/dst_mask][:dst_port] } { time format
* mean
every
! mean notFor example the service is !http mean al
service expect
the http
Alert ! and * don't use together
service can write as name
:http,socks,ftp,...
service can write as port too: 8082,1082,..
group mean
the kingate group.
* mean every one include kingate user and not kingate user.
all mean every login kingate user.
src_ip mean the source ip,If it finnaly
with "." mean a
net"*" mean all source ip.
src_mask mean source mask,when the
src_ip is a net you can use the
src_mask .If the src_ip not a net ,the
src_mask don't need to
write.
dst_ip mean the destination ip,format as the
src_ip
dst_mask format as the src_mask.
dst_port mean the destination port
,If you are not write the dst_port
,it mean all destination port
alertsrc_mask,dst_mask,dst_port can't use together as the
revers char "!".
time format
min hour mday month wday
the format as same as crontab(use man
crontab to look for detail).
For example the time is :
* 8-10 * * 6,0
mean in
sunday and Saturday from 8 to 10 hour.
The following is example config
1
anonymous proxy(default by kingate)
etc/access.conf file content is
first
deny
model deny
{ manage * !127.0.0.1 * }
model allow
{ * * * * }
2 auth with
user(please chanage the kingate root password)
etc/access.conf file content
is
first deny
model deny
model allow
{ * all * * }
{ manage * * * }
----------------------------------------
The post originated from Linux Forum:
----------------------------------------
http://www.linuxforum.com
http://www.linuxforum.com/forums