
Hands on teaching you to build your own SOCKS5 proxy channel
Engaged in the network business understand that a stable proxy channel is like a plug-in. Today we do not whole false, directly on the hard goods to teach you to take SOCKS5 proxy service on the Linux system. Don't be intimidated by the terminology, follow the steps and students can handle.
Get ready for your stuff.
Let's be clear about what's needed first:
1. A server with a public IP (Ubuntu 20.04 recommended)
2. A terminal tool that can tap commands
3. reliable proxy IP resources (we will teach how to choose later)
Focused Reminder:Don't use those free proxy IPs, nine out of ten are pits. Later will recommend a solid channel, first follow the process.
Hands-on building process
We recommend the Dante-server, which is much more robust than the Dante-server. Read the steps carefully:
Install the dependencies first
sudo apt-get install build-essential -y
Download the latest version of Dante
wget https://www.inet.no/dante/files/dante-1.4.3.tar.gz
Extract the installer
tar -xzf dante-1.4.3.tar.gz
cd dante-1.4.3/
Compile and install (this step may take a while)
. /configure && make && sudo make install
Don't rush to start it after installation, you have to change the configuration file first. Use vim to open the configuration:
sudo vim /etc/danted.conf
Paste the following bit of configuration in (be careful to change the port number):
internal: eth0 port = 1080
external: eth0
clientmethod: none
socksmethod: username
user.privileged: root
user.notprivileged: nobody
logoutput: /var/log/danted.log
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
}
socks pass {
from: 0.0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
socksmethod: username
log: connect disconnect error
}
Safety and security should be in place
Don't think you're done with the installation, these three protective measures must be done:
| protective term | operating method |
|---|---|
| Fire protection settings | Open only the necessary ports |
| access password | Minimum 12-digit mixed password |
| Traffic Monitoring | Install a vnstat to see the traffic |
How to choose the most reliable proxy IP
Build your own service is only the first step, the proxy IP quality is the key. Here we must favor our own productsipipgoThe advantages of these points really don't exist elsewhere:
- Direct connection to carriers in 200+ countries, much more stable than those used IPs.
- Supports socks5/http/https protocols, no need to go back and forth.
- Dynamic IP packages as low as 7 dollars more than 1 G, do crawlers save old money!
Save the package price list:
| Package Type | Applicable Scenarios | price of item |
|---|---|---|
| Dynamic residential (standard) | Daily data collection | 7.67 Yuan/GB |
| Dynamic Residential (Business) | High-frequency business requirements | 9.47 Yuan/GB |
| Static homes | Long-term fixed IP | 35 yuan/month |
Guidelines on demining of common problems
Q: What can I do about the snail-like speed of the agent?
A: First check the local network, and then change ipipgo's TK line, cross-border business with this channel is more than 3 times faster!
Q: Can't connect to the agent I'm building?
A: Eighty percent of the fire did not open the mouth, with thesudo ufw allow 1080Try the opening.
Q: How do I manage multiple agents at the same time?
A: Directly use ipipgo's client, which can manage 200+ proxy channels at the same time, and can also switch IPs automatically.
Finally, I said a heartfelt: technology and then cattle must also have reliable resources to support. Take their own agent service is worry-free, but the quality of IP is not off as usual blind. Especially do cross-border e-commerce or overseas business, directly on the ipipgo cross-border line, than you toss your own save a lot of trouble. Technical problems are welcome to tease, hand in hand to teach until it will be.

