This tutorial will help you create a cheap DDoS Protected Proxy, without all of the shenanigans, if you need a cheap place to purchase your DDoS protected VPS then I reccomend
Tutorial Authors:
@MikeOxlong (Spock)
Noman (Noz)
Special Thanks:
Haproxy Developers
Viking Community
What you need:
- CentOS 6.x 64bit
- Haproxy
- Nano
- DDoS Protected VPS
- PuTTY (Windows Users, for Mac and Linux (*nix systems) Users go into Console and type in SSH and root@ip)
Notice for Beginners: Make sure you type all this in the SSH Console!
How to do it:
1) Install Nano
If it asks for anything, say yes! (Y)
2) Install Haproxy
Again, if it asks for anything, say yes! (Y)
3) Configure Haproxy
First of all, you will need to make sure that the file is on your server, type into the SSH Console Excluding SQL Query.
Delete what ever is in there (clear it all) and replace it with this code (replacing the bits in red)
To copy the config above just select the text then CTRL+C and then right click in the SSH Console (PuTTY only)
Make sure you save the file once you have edited it!
4) Start Haproxy
Type into your SSH Console
5) Editing database (Phoenix)
Edit these tables in your database only for Phoenix, Butterfly and R63B will not need database alterations. Run the MySQL Query below:
You should be set, if you have any problems, go back through the steps before contacting us!
If you have any questions, or need any support. Please do not hesitate to PM Me or PM @MikeOxlong or Add
internetserviceprovidings or nozonskype to your Skype list and we will be happy to help!
You must be registered for see links
, make sure you buy a DDoS protected IP.Tutorial Authors:
@MikeOxlong (Spock)
Noman (Noz)
Special Thanks:
Haproxy Developers
Viking Community
What you need:
- CentOS 6.x 64bit
- Haproxy
- Nano
- DDoS Protected VPS
- PuTTY (Windows Users, for Mac and Linux (*nix systems) Users go into Console and type in SSH and root@ip)
Notice for Beginners: Make sure you type all this in the SSH Console!
How to do it:
1) Install Nano
Code:
yum install nano
If it asks for anything, say yes! (Y)
2) Install Haproxy
Code:
yum install haproxy
Again, if it asks for anything, say yes! (Y)
3) Configure Haproxy
First of all, you will need to make sure that the file is on your server, type into the SSH Console Excluding SQL Query.
Code:
nano /etc/haproxy/haproxy.cfg
Code:
global
daemon
log /dev/log local4
maxconn 400000
ulimit-n 810000
defaults
log global
contimeout 4000
clitimeout 42000
srvtimeout 43000
listen proxy1 ddos-protected-vps-ip:port-you-wish-to-use
mode tcp
balance leastconn
server proxy1_1 target-ip:target port
To copy the config above just select the text then CTRL+C and then right click in the SSH Console (PuTTY only)
Make sure you save the file once you have edited it!
4) Start Haproxy
Type into your SSH Console
Code:
service start haproxy
5) Editing database (Phoenix)
Edit these tables in your database only for Phoenix, Butterfly and R63B will not need database alterations. Run the MySQL Query below:
Code:
UPDATE server_settings SET enable_securesessions = '0';
UPDATE server_settings SET enable_antiddos = '1';
UPDATE server_settings SET ip_lastforbans = '1';
You should be set, if you have any problems, go back through the steps before contacting us!
If you have any questions, or need any support. Please do not hesitate to PM Me or PM @MikeOxlong or Add
internetserviceprovidings or nozonskype to your Skype list and we will be happy to help!
Last edited: