centos - setting iptables rules to allow traffic of Ha-proxy -


hey new ha-proxy , iptables rules, case have setup 3 virtualbox centos instance practise 1 designated loadserver , rest of 2 webclient. network settings of webclient in virtualbox set bridge, , install nginx, web application, , allow port 80, port 443 , on. when install ha-proxy , check status of 3 machines using http://loadserver/stats seem of em down. question how allow traffic , forth loadserver 2 webclient? suggestion highly appreciated. thank you.

          loadserver 192.168.0.125           web1: 192.168.0.121           web2: 192.168.0.122 

haproxy.cfg

      backend lb 192.168.0.125:80         mode http         stats enable         stats hide-version         stats uri /stats         stats realm haproxy\ statistics         stats auth haproxy:redhat                balance roundrobin                   option httpchk         option  httpclose         option forwardfor         cookie lb insert         server web1-srv 192.168.0.121:80 cookie web1-srv check      # backend server.         server web2-srv 192.168.0.122:80 cookie web2-srv check  # backend server. 


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -