网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

proxychains安装和配置

1,proxychains安装和配置

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:域名注册网站空间、营销软件、网站建设、濠江网站维护、网站推广。

#cd /opt

# git clone https://github.com/haad/proxychains

# cd proxychains/

# ./configure --sysconfdir=/usr/local/etc

[root@localhost proxychains]# ./configure --sysconfdir=/usr/local/etc

Linux

done, now run make && make install

# make && make install

[root@localhost proxychains]# make && make install

make: Nothing to be done for `all'.

install -d //usr/local/bin //usr/local/lib //usr/local/etc //usr/local/include

install -D -m 755 proxychains4 //usr/local/bin/

install -D -m 644 libproxychains4.so //usr/local/lib/

#cp /opt/proxychains/src/proxychains.conf   /usr/local/etc/

# vim /usr/local/etc/proxychains.conf 

# proxychains.conf VER 4

#

# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.

#


# The option below identifies how the ProxyList is treated.

# only one option should be uncommented at time,

# otherwise the last appearing option will be accepted

#

#dynamic_chain

#

# Dynamic - Each connection will be done via chained proxies

# all proxies chained in the order as they appear in the list

# at least one proxy must be online to play in chain

# (dead proxies are skipped)

# otherwise EINTR is returned to the app

#

strict_chain

#

# Strict - Each connection will be done via chained proxies

# all proxies chained in the order as they appear in the list

# all proxies must be online to play in chain

# otherwise EINTR is returned to the app

#

#random_chain

#

# Random - Each connection will be done via random proxy

# (or proxy chain, see chain_len) from the list.

# this option is good to test your IDS :)


# Make sense only if random_chain

#chain_len = 2


# Quiet mode (no output from library)

#quiet_mode


# Proxy DNS requests - no leak for DNS data

proxy_dns


# set the class A subnet number to usefor use of the internal remote DNS mapping

# we use the reserved 224.x.x.x range by default,

# if the proxified app does a DNS request, we will return an IP from that range.

# on further accesses to this ip we will send the saved DNS name to the proxy.

# in case some control-freak app checks the returned ip, and denies to

# connect, you can use another subnet, e.g. 10.x.x.x or 127.x.x.x.

# of course you should make sure that the proxified app does not need

# *real* access to this subnet.

# i.e. dont use the same subnet then in the localnet section

#remote_dns_subnet 127

#remote_dns_subnet 10

remote_dns_subnet 224


# Some timeouts in milliseconds

tcp_read_time_out 15000

tcp_connect_time_out 8000


# By default enable localnet for loopback address ranges

# RFC5735 Loopback address range

localnet 192.168.5.14/255.255.255.0

# RFC1918 Private Address Ranges

# localnet 10.0.0.0/255.0.0.0

# localnet 172.16.0.0/255.240.0.0

# localnet 192.168.0.0/255.255.0.0



# Example for localnet exclusion

## Exclude connections to 192.168.1.0/24 with port 80

# localnet 192.168.1.0:80/255.255.255.0


## Exclude connections to 192.168.100.0/24

# localnet 192.168.100.0/255.255.255.0


## Exclude connections to ANYwhere with port 80

# localnet 0.0.0.0:80/0.0.0.0


# ProxyList format

# type host port [user pass]

# (values separated by 'tab' or 'blank')

#

#

# Examples:

#

# socks5 192.168.67.78 1080 lamer secret

# http 192.168.89.3 8080 justu hidden

# socks4 192.168.1.49 1080

# http 192.168.39.93 8080

#

#

# proxy types: http, socks4, socks5

# ( auth types supported: "basic"-http "user/pass"-socks )

#

[ProxyList]

# add proxy here ...

# meanwile

# defaults set to "tor"

#socks4 127.0.0.1 9050


socks4 192.168.5.4 elisa 122541

2,proxychains的使用

# proxychains4 netstat -lntp

[root@localhost src]# proxychains4 netstat -lntp

[proxychains] config file found: /opt/proxychains/src/proxychains.conf

[proxychains] preloading /usr/local/lib/libproxychains4.so

[proxychains] DLL init

Active Internet connections (only servers)



本文名称:proxychains安装和配置
网站地址:http://bjjierui.cn/article/pophpp.html

其他资讯