Hands-on with free servers to build your own Socks5 proxy
Recently a friend who is doing cross-border e-commerce complained to me that he was always blocked when he used public proxies to manage his store. I let him try AWS free EC2 self-built proxy, now the account survival time from 3 days to 2 months. Today thisZero cost programTeach it to everyone and follow along for 30 minutes.
Preparation: woolgathering for Amazon
1. Sign up for an AWS account (VISA credit card required, $1 will be deducted for verification and returned)
2. Select from the consoleOhioRegion (up to free amount)
3. Recognize when creating EC2 instancest2.microModel (with free label)
4. Download and save the key file (.pem format, if you lose it, you won't be able to access the server)
Here's a tip: fill in the address in English when you register, and pay attention to the airplane sound in the background when you answer the phone verification code, it's a real phone call from the United States.
Three lines of code to build a proxy service
Paste these commands directly after connecting to the server with MobaXterm:
# Install the necessary components sudo yum install -y wget # Download the one-click install script wget https://raw.github.com/Lozy/danted/master/install.sh # Execute the installation (replace 12345 with your password) bash install.sh --port=1080 --user=proxy --passwd=12345
Wait about 5 minutes and seeInstall CompleteAnd it worked. It's easier than installing your cell phone app, you don't even have to change the configuration file.
Self-Built Proxy vs ipipgo Service Comparison
comparison term | Self-Built Agents | ipipgo service |
---|---|---|
(manufacturing, production etc) costs | Free but time-consuming | Free trial + pay-as-you-go |
IP quality | Fixed Server Room IP | 9 million + residential IPs |
maintenance cost | Requires periodic reboot | 24-hour automatic maintenance |
concurrency | Support for 3-5 devices | Hundred device level concurrency |
For example, to do social platform multi-account operation, self-built agents may not be able to hold up to 10 numbers online at the same time, and with ipipgo'sDynamic Residential IPAbility to raise 200+ accounts at the same time.
A Guide to Avoiding the Pit (Blood and Tears)
- traffic trap: AWS free packages only have 15G of traffic per month, and you have to deduct dollars if you go over it
- time trap: Remember to turn off the servers for 1 day in a 31 day month!
- a booby-trap: Be sure to open port 1080 in the security group, or you won't be able to connect!
Some dude forgot to turn off his server last year on double 11 and ended up with a $200 bill. If you're afraid of the hassle, it's more hassle-free to just use the ipipgo service, theirTraffic Alert FunctionCan automatically shut down to prevent overruns.
Frequently Asked Questions
Q: Can I use free EC2 for commercial purposes?
A: It's fine for small personal use, but for a team like ours that handles 50,000 requests a day, it's more cost-effective to buy ipipgo's enterprise package.
Q: Will self-built resellers be blocked?
A: The IP of the server room is risky, we later changed to ipipgoU.S. Residential IP, hasn't been blocked again for six months.
Q: Can I use this agent with my cell phone?
A: Just add socks5 configuration in Settings-Network, fill in EC2's public IP address, port 1080, and the password you set.
It is recommended that newbies practice with a self-built proxy first, and then seamlessly switch to ipipgo after the volume of business comes up. they are now sending a free trial of 5,000 request credits, enough to test it out. After all, time is money, professional things to professional people more cost-effective.