Project 2‐SEC‐440‐Web and Proxy Redundancy - lpcyber1/SEC440 GitHub Wiki

Project Plan

  1. Get networking set up for each VM (Web02, HA1, and HA2)
  2. Set up httpd on Web02 and create web page
  3. HAProxy Setup
  4. KeepAlived for HAProxy
  5. Set up DNS and NAT
  6. Update/Config anything else in case of errors

VM Setup

Web02 Setup

  • Networking

image

  • HTTPD

image

image

  • Firewall

Screenshot 2024-09-15 145125

HA1 and HA2 Setup

  • HA1 Networking

image

  • HA2 Networking

image

HAProxy Setup

  • Install

image

  • Edit haproxy environment file

image

  • Add these lines to the /etc/haproxy/haproxy.cfg on HA1 and HA2

image

  • Restart service

image

KeepAlived Setup

  • Install

image

  • HA1 Config file

image

  • HA2 Config File

image

  • Restart service

image

NAT for OPT Setup

  • Change address for NAT destination rule on vyos01 and vyos02

image

Deliverables