如何在Linux上安装配置netpas游戏加速器( 三 )


【如何在Linux上安装配置netpas游戏加速器】 配置完成后,以后每次运行时只要点桌面上的NET32RUN就可以了 。现在你还不可以通过NAT上网,需要在linux下作一些配置 。
3.2.3 可选,配置3proxy
注:这个是可选的,就是对那些更喜欢用代理的人来说,或是那些想省事的人,设置代理可要简单得多,而NAT还有不少配置要做,但坚持到最后的人是会有回报的:)
3proxy的功能是非常强大的,有兴趣的或需求可以花时间读一下文档,这里给一个比较通用的配置文件 。================================================================ ================3proxy.cfg Starts ==============================
#!/usr/local/bin/3proxy
# Yes,3proxy.cfg can be executable,in this case you should place
# something like
#config /usr/local/3proxy/3proxy.cfg
# to show which configuration 3proxy should re-read on realod.
system “echo 3proxy is running. 。。!”
# you may use system to execute some external command if proxy starts
# We can configure nservers to avoid unsafe gethostbyname() usage
####! maybe useful,but dont understand
#nserver 10.1.2.1
#nserver 10.2.2.2
# nscache is good to save speed,traffic and bandwidth
nscache 65536
# in log file we want to have underscores instead of spaces
logformat “- +_L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T”
rotate 30
# We will keep last 30 log files
internal 192.168.56.101
# internal is address of interface proxy will listen for incoming requests
# 127.0.0.1 means only localhost will be able to use this proxy. This is
# address you should specify for clients as proxy IP.
# You MAY use 0.0.0.0 but you shouldn‘t,because it’s a chance for you to
# have open proxy in your network in this case.
auth none
# no authentication is requires
####! maybe useful in some occassions
# dnspr
# dnsproxy listens on UDP/53 to answer client‘s DNS requests. It requires
# nserver/nscache configuration.
#external $./external.ip
#internal $./internal.ip
# this is just an alternative form fo giving external and internal address
# allows you to read this addresses from files
auth none
# We want to protect internal interface
deny * * 127.0.0.1,192.168.56.101
# and llow HTTP and HTTPS traffic.
allow * * * 80-88,8080-8088 HTTP
allow * * * 443,8443 HTTPS
proxy -n -p8090
auth none
flush
socks -p9080===============3proxy.cfg End ================================ ================================================================
上一页12下一页 剩下全文

推荐阅读