centos6安装socks代理服务器

2013-08-21 18:05:56

最近才发现QQ的IP探测软件又开始兴起了.虽然被探测了也没什么的..但是有些人太变态了…我本机搭建了http服务器,然后上网的时候总喜欢逗我,
没事就探测我IP.然后ddos我80端口玩..本来没什么的,但是由于处在公司的网络里,上网总是卡卡的..很不爽的样子.其实也只是逗着玩的样子,并没有
多大的流量.为了避免这种情况发生,也为了避免一些人探测我IP是为了其它目的..所以果断采用了socks代理,本来准备用http代理的,但是http代理的
话没办法去设置密码.而且还有很多扫http代理.很讨厌的样子!
解决方案:在硬防机房搭建Socks代理,通过代理来解决,Socks是底层通信,适用范围最广。
—————————————————————————-
1,#安装需要的库以及编译需要的组件
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers pam-devel pam-devel

2,#安装socks5 server 5服务端
wget http://nchc.dl.sourceforge.net/project/ss5/ss5/3.8.9-5/ss5-3.8.9-5.tar.gz
tar -zxvf ss5-3.8.9-5.tar.gz
cd ss5-3.8.9-5
./configure
make
make install

3,#修改认证方式
echo “auth 0.0.0.0/0 – u” >> /etc/opt/ss5/ss5.conf
echo “permit u 0.0.0.0/0 – 0.0.0.0/0 – – – – -” >> /etc/opt/ss5/ss5.conf

4,#添加启动选项
sed -i “s/#SS5_OPTS/SS5_OPTS/g” /etc/sysconfig/ss5

5,#添加账号与密码
echo “账号 密码” >> /etc/opt/ss5/ss5.passwd

6,#为ss5添加可执行权限
chmod 755 /etc/rc.d/init.d/ss5

7,#将服务加入开机启动
chkconfig –add ss5
chkconfig ss5 on

8,#启动服务
service ss5 restart

centos6完美pptp vpn一键包

yum remove -y pptpd ppp iptables --flush POSTROUTING --table nat iptables --flush FORWARD rm -rf /etc/pptpd.conf rm -rf /etc/ppp arch=uname -m wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.$arch.rpm yum -y install make libpcap iptables gcc-c++ logrotate tar cpio perl

悲魂曲(韩文+英文+中文独白)

everytime I think of you I want you baby boo cause I just can’t get enough of you I need you baby boo I just want to hold you tight you know my love is true cause I’m the same old dude that man who be loving you