Ansible playbook for installing and configuring dante socks proxy on CentOS 7 - dante.yaml. There are many proxy server software which can provide both SOCKS4 proxy and SOCKS5 proxy, but here we are going to setup using SS5 for Linux CentOS 7. Connect to your system using sudo privileged user or root credentials. Ssh root@xx.x.xx.xx.

socks5
Socks5 is a proxy protocol, which plays an intermediary role between the front-end machine and the server machine that uses TCP / IP protocol to communicate, so that the front-end machine in the Intranet can access the server in the Internet network, or make the communication more secure. Socks5 server simulates the behavior of a front end by forwarding the request from the front end to the real target server. Here, the front-end and Socks5 also communicate through TCP / IP protocol. The front-end sends the request to the real server to the Socks5 server, and then the Socks5 server forwards the request to the real server.
If your machine has a legal Internet IP address, or if you can freely communicate with any host on the Internet by dialing the modem on your own machine, you usually don’t need to care about Socks5 protocol. Socks5 protocol is useful for the machine in the internal network, which needs to access the outside through some machines in the network that can connect with the external Internet. In the process of sending the communication request to the real server, the Socks5 server does not change the request packet itself. After the Socks5 server receives the response from the real server, it also forwards it to the front end. Therefore, Socks5 protocol is a kind of proxy protocol, which can adapt to all kinds of application layer protocols based on TCP / IP. Although it can’t understand the internal structure of the data it forwards, it can faithfully forward the communication package and complete the function that the protocol should complete.
Different from Socks5 protocol, HTTP proxy is carried out through HTTP protocol. The HTTP proxy server software understands the internal structure of the communication package, and it also needs to modify and transform the communication program in the process of forwarding. Different from HTTP proxy protocol, Socks5 is actually a transport layer proxy protocol. We can imagine that if every specific application layer protocol has to design the corresponding proxy protocol expression, a specific proxy server can not support so many new emerging protocols in any case. Therefore, it can be said that the emergence of Socks5 eases the difficult situation that a variety of specific protocols need to specially design proxy protocols. However, not all software using TCP / IP application protocol can communicate unconditionally through the Socks5 server, and the front-end software itself is required to have the Socks5 interface to use the Socks5 proxy server.

Install Dante Socks Proxy Centos 6 Realflow 5 3ds Max 2012 Plugin Free Download Corel Painter Lite Serial Number Roald Dahl The Witches Download Microsoft Office Professional Plus 2010 Ver 14.0.4734.1000 H 264 Progdvb Pack Summer Switch Suzuki Tsuta Netter Interactive Atlas Of Human Anatomy V3 0. I need a socks 5 proxy server that can run on centos. This would use a block of IP's so that client X with IP Address zzz connects tomy proxy server with ip xxx and then to remote host with ip yyy. Mar 08, 2017 In this article we are going to set up a Socks5 Proxy server using SS5 on CentOS 7. SS5 is a high performance SOCKS proxy server implementing SOCK4 and SOCKS5 protocols. As a proxy server, SS5 authenticates, profiles and processes network requests for clients. It establishes connections to application hosts for client applications.

Installation configuration
1. Install SOCKS 5
1.1 installation dependent development library

The code is as follows:

# yum install pam-devel openldap-devel openssl-devel

1.2 installing SOCKS 5

The code is as follows:

# wget http://downloads.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz?r=&ts=1396802581&use_mirror=cznic
# tar -xzvf ss5-3.8.9-8.tar.gz
# cd ss5-3.8.9
# ./configure
# make
# make install

2. SOCKS 5 configuration
2.1 modify configuration file

The code is as follows:

# vim /etc/opt/ss5/ss5.conf
auth 0.0.0.0/0 – –
Install

Change to

The code is as follows:

auth 0.0.0.0/0 – u

permit – 0.0.0.0/0 – 0.0.0.0/0 – – – – –

Install Dante Socks Proxy Centos 7

Change to

The code is as follows:

permit u 0.0.0.0/0 – 0.0.0.0/0 – – – – –

3. Add socket 5 users

The code is as follows:

# cat /etc/opt/ss5/ss5.passwd
##User password
ttlsa 123456
Install dante socks proxy centos 7 0

4. Start socket 5

The code is as follows:

# sh /etc/rc.d/init.d/ss5 start
doneting ss5…

By default, the SS5 file does not have permission to execute. If you feel that it is troublesome to use sh to start, you can use the following method:

The code is as follows:

# chmod u+x /etc/rc.d/init.d/ss5
#Chkconfig — add SS5 / / optional
#Chkconfig SS5 on / / optional
# service ss5 start

5. Check whether it is started

The code is as follows:

# netstat -lntp | grep ss5
tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 14262/ss5

Default port 1080
6. Test Socks5
Install proxifier. By default, all requests go to Socks5. Open Baidu and enter IP. You can see the following results: our operation and maintenance survival time( ttlsa.com )IP address of

7. Common mistakes
7.1 lack of PAM

The code is as follows:

configure: error: *** Some of the headers weren’t found ***
# yum -y install pam-devel

8. End
Have you successfully installed Socks5? I haven’t turned off Socks5 yet. You can take the account and password in this chapter for a test.

Obtaining Dante from repository

Dante is a fully functional SOCKS proxy server and as such has many nobs. Fortunately, setting up a basic configuration that will allow tunneling of things like HTTP is relatively simple. If you’re running Debian GNU/Linux, simply run:

Configuring Dante

Install Dante Socks Proxy Centos 7 Bootable

remember! Dante is a SOCKS host NOT an HTTP proxy, you are going to get all sorts of weird errors if you get this wrong.

The configuration file is locate in

This is a simple of the configuration file:

Take a look at the first part:

this dante configuration enable the proxy on port 8080 of a server ( example 123.123.123.123) and listing on interface venet0:0.
This configuration enable the proxy only for a single example ip: 10.10.10.10.

Starting Dante

And it have to response:
If it doen’t response with this message you have to check the log:

Install Dante Socks Proxy Centos 7 1

For solve this issue launch this command:
if the command belove doesn’t work, try this:
Keep attention on where LN file is locate, in my case is on /bin/ln.
Proxy
Now, you can start again dante server and configure your browser for connect with SOCKS5 on the port that you have configured in the file above.
I suggest “Proxy Switchy!” for google chrome.