Configurations: ADC Migration from Barracuda to RELIANOID

View Categories

Configurations: ADC Migration from Barracuda to RELIANOID

6 min read

Overview #

Barracuda Networks offers a range of Network security and Application delivery products, and an ADC is part of their product line. Though these products address the needs of many consumers, various resources point out some potential downsides, and these downsides include;

  1. Some users find the initial setup configurations difficult, which can be time-consuming and require a higher level of technical expertise.
  2. Both technical and customer support can be slow, and one may struggle to find resources.
  3. The performance of some of the Barracuda products, such as the firewall appliances, can be impacted when handling large amounts of traffic.

It is imperative to evaluate whether the features and functionalities of the Barracuda products align with your specific needs. This guide will help gracefully transition your ADC services from Barracuda Networks to RELIANOID if you need a service shift.

Prerequisites #

To effectively follow this guide, ensure you meet the following prerequisites.

  1. You must’ve installed an instance of RELIANOID ADC on your PC, bare-metal, or virtual environment, or you must have an active ZVNcloud account. For on-premise deployment, Request an evaluation.
  2. You must have access to the Web User interface. If you don’t, follow this quick Installation guide.
  3. You must be an active user of the Barracuda Networks and be familiar with the concepts we will discuss in the section below.
  4. Ensure that you create a virtual server in the RELIANOID load balancer. Here is a quick guide: Layer 4 and Layer 7 Virtual Server Configuration

Basic Concepts #

High Availability: This mechanism is responsible for maintaining the uptime of web services even when some servers abruptly go down or are in maintenance mode. One obtains HA by configuring A Master/Backup pair. To access HA configurations on RELIANOID, Access System >> Cluster.

GLSB Services: Global Load balancing provides clients access to resources from data centers closest to their regions, improving the speed of delivery. GSLB can also be used for disaster recovery if one data center fails. This type of load balancing occurs at the DNS level. RELIANOID offers DNS load balancing through the GSLB >> Farms.

Server monitor: These are health checks that monitor whether a backend server or its service is up or down. RELIANOID implements health checks through Farmguardian.

Access and Audit logs: These log files help admins keep track of all activity within the ADC. This activity could be log-in details, network logs, system errors, etc. One may view system logs on RELIANOID by accessing System >> Logs.

DDoS Prevention: This security feature protects many forms of DoS attacks. These could be Bogus TCP flags, HTTP flood attacks, Ping flood attacks, etc. One may use DoS prevention and protection in RELIANOID by accessing IPDS >> DOS.

Security: This feature monitors and controls all traffic flowing through an ADC. It ensures that all the traffic is legitimate while filtering out all illegitimate traffic. RELIANOID implements security through the IPDS module.

Allow/Deny Rules: An admin uses these rules to limit traffic from accessing particular resources. One may configure them to block external traffic and whitelist internal IPs to use admin privileges within an organization’s network. An admin may configure the rules to block traffic from certain geolocations. RELIANOID implements Allow/Deny Rules through IPDS >> Blacklists.

Servers: These are physical servers or VPS placed within an ADC service. They are responsible for processing all client requests. With RELIANOID ADC, we call servers Backends.

Services: A service in Barracuda is responsible for receiving all incoming traffic and forwarding it to backends. Services also include a Virtual IP Address and Virtual Port. A similar functionality in RELIANOID is a Farm.

Certificates: These are Self-signed or CA-signed SSL/TLS certificates used for encrypting and decrypting traffic on the ADC, with the purpose of SSL offloading. Within RELIANOID, one may import a custom certificate or configure one with the inbuilt Let’s Encrypt program. Access SSL Certs on RELIANOID ADC through LSLB >> SSL Certificates.

Example configurations: Session persistence #

Session persistence refers to the ability of a load balancer or other network infrastructure to ensure that a particular user’s requests are sent to the same backend server in a cluster rather than being distributed randomly. This is useful when the backend server needs to maintain state information about a user, such as the contents of a shopping cart or the progress of a multi-step form. There are several methods for achieving session persistence; These include IP hash, cookie-based persistence, SSL session ID persistence, etc.

In this section, we will make barracuda configurations for Session persistence and use them to describe RELIANOID configurations.

Barracuda Configurations #

To Enable session persistence, ensure you have already configured backend servers to serve traffic within the Barracuda services.
Instructions:

  1. Click BASIC >> Services.
  2. Click on the Service you want to enable cookie persistence from the left sidebar.
  3. Scroll to the section, Load Balancing.
  4. Click on the drop-down menu of Persistence Type; you will find various types like source IP, cookie Insert, cookie Passive, HTTP Header, and URL parameter. For this example, choose cookie insert.
  5. oracle_jd_edwards_load_balancing_farm

  6. Enter the cookie Domain.
  7. Enter the expiry time in minutes.
  8. Enter the cookie path.
  9. Click the Save changes button at the top right of the menu bar.
  10. Test to see whether the load balancing persists to one backend server.

RELIANOID Configurations #

Ensure you have configured an HTTP or HTTPS Farm within the LSLB Farm section. If you have not created one, follow this guide. Layer 4 and layer 7 virtual servers.
Instructions:

  1. Click the LSLB >> Farms.
  2. Click the HTTP or HTTPS Farm you created from the LSLB Farms list.
  3. Click the Services tab and open the service of interest.
  4. Scroll to the section with Persistence; you will find options like IP: client address, BASIC: Basic authentication, PARM: An URI Parameter, URL: A request Parameter, and COOKIE: A certain cookie. For this example, we will choose COOKE: A certain cookie.
  5. oracle_jd_edwards_load_balancing_farm

  6. Configure the Persistence session time to live in seconds.
  7. Enter a persistence session identifier.
  8. Scroll down and click the Apply button.

Example configurations: Content rules(Header Rewrites) #

Header rewrites are techniques used in web servers and reverse proxies(load balancers) to modify the headers of an incoming HTTP request or an outgoing HTTP response. Modifying HTTP headers is used for various purposes like adding security headers, redirecting requests, or altering the behavior of the server or application. HTTP request headers that can be rewritten include host, user-agent, and referer and the response headers include location, cache control, and content type. The specific method for implementing header rewrites varies depending on the web server or reverse proxy.

For security purposes, sometimes we must edit the server name or its versions so we don’t give out lots of information to online users. In this section, we will configure header rewrites in RELIANOID based on Barracuda configurations to rewrite the server name within the HTTP response header.

Barracuda Configurations #

Instructions:

  1. Click TRAFFIC >> Web Translations.
  2. Leave Groups as All and select the Service you want the rule to apply.
  3. Within the HTTP Response Rewrite section, click the Add rule button.
  4. Enter the Rule Name.
  5. oracle_jd_edwards_load_balancing_farm

  6. Enter a Sequence Number.
  7. Within the Action field, select Rewrite Header.
  8. Enter the Header Name, for example, server.
  9. For Old Values, you may enter an asterisk(*).
  10. Enter the Rewrite Value, for example, Nginx.
  11. Click the Save button.

RELIANOID Configurations #

These are RELIANOID configurations based on the previous Barracuda configurations.
Instructions:

  1. Click LSLB >> Farms.
  2. Click on the HTTP Farm you want to enable the rule within the HTTP Farms list.
  3. Click on the Advanced Toggle button within the Global Settings.
  4. Within the Advanced Settings section, click on the first option, Rewrite location headers, and change the value to Enabled.
  5. Scroll to the Headers section.
  6. Click the Create rule button.
  7. oracle_jd_edwards_load_balancing_farm

  8. Within the Type* field, select Response: add header.
  9. Within the Header* field, enter the Header you would like to apply the rewrite rules, e.g., server.
  10. Within the Value* field, enter the expected value, e.g., Apache.
  11. Click the Apply button to save the configurations.
  12. Restart the Farm for the rule to apply

Additional Resources #

Web Application Firewall configuration.
Configuring SSL certificates for the load balancer.
Using the Let’s encrypt program to autogenerate an SSL certificate.
Application, Health and Network Monitoring in Relianoid ADC.
Datalink/Uplink load balancing With RELIANOID ADC.
DNS load balancing with RELIANOID ADC.

SHARE ON:

Powered by BetterDocs