• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

DDoS TCP proxy set-up

YOLO <3
Joined
Jul 6, 2013
Messages
542
Reaction score
31
I'm now doing this: http://forum.ragezone.com/f335/tut-ddos-tcp-proxy-tutorial-959382/

But the last step doesn't work, the proxy won't start. These errors are the ones I get:

a44b0e04dd6e3520a5c81a53c5b06381 - DDoS TCP proxy set-up - RaGEZONE Forums


(First error is in dutch; says file or map doesn't exist)
 
Last edited:
Newbie Spellweaver
Joined
Oct 21, 2012
Messages
40
Reaction score
14
Sure, check
You had the IP's mixed up
PROTECTED_IP = The IP of the linux server
PHP:
global 
   log /dev/log local0 
   log /dev/log local1 notice 
   chroot /var/lib/haproxy 
   stats socket /run/haproxy/admin.sock mode 660 level admin 
   stats timeout 30s 
   user haproxy 
   group haproxy 
   daemon 

defaults 
   log global 
   mode tcp 
   option dontlognull 
   timeout connect 5000 
   timeout client 50000 
   timeout server 50000 

frontend tcp_front 
   bind PROTECTED_IP:1232 
   default_backend tcp_back 

backend tcp_back 
   balance roundrobin 
   server server1 HOTEL_IP:HOTEL_PORT check
 
Upvote 0
YOLO <3
Joined
Jul 6, 2013
Messages
542
Reaction score
31
You had the IP's mixed up
PROTECTED_IP = The IP of the linux server
PHP:
global 
   log /dev/log local0 
   log /dev/log local1 notice 
   chroot /var/lib/haproxy 
   stats socket /run/haproxy/admin.sock mode 660 level admin 
   stats timeout 30s 
   user haproxy 
   group haproxy 
   daemon 

defaults 
   log global 
   mode tcp 
   option dontlognull 
   timeout connect 5000 
   timeout client 50000 
   timeout server 50000 

frontend tcp_front 
   bind PROTECTED_IP:1232 
   default_backend tcp_back 

backend tcp_back 
   balance roundrobin 
   server server1 HOTEL_IP:HOTEL_PORT check
Ok now haproxy works:
3130674ee497b4253ba43b74d47eb41c - DDoS TCP proxy set-up - RaGEZONE Forums


But there's an other problem now. If I go to the linuxIP:port (in my case 1232) it doesn't show anything, the page is offline. Also If I use the proxy things in my phoenix revcms client, nobody can connect.

Normally you get something like this:
7cdc6be3484135203a226c13cea212d4 - DDoS TCP proxy set-up - RaGEZONE Forums


but now you see nothing and the page is offline, however the haproxy is started..
 
Upvote 0
Back
Top