The redirect service is a non-SSL service that redirects all HTTP requests to another service, for example, an existing HTTPS service. Since the only purpose of this service is to redirect to an existing service, you cannot specify the Real Server IP address. The redirect service can allow client requests on port 80 even though the server only serves HTTPS requests on port 443. To create a Redirect service, select Redirect as the type of service. For additional instructions go to the BASIC > Services page and click Help.
Perform the following steps to create a redirect service for a HTTPS service:
Steps to Create a Redirect Service
- Go to the BASIC > Services page, Add New Service section.
- Create an HTTPS service:
- Service Name: Enter a name for the service. Example: foobar
- Type: Select HTTPS.
- Virtual IP Address: Enter the virtual IP address to be used for accessing this service. Example: 10.10.1.2
- Port: Enter the port number on which the server responds. Example: 443
- Real Server: Enter the IP address of the server that hosts the service. This is the back-end server that is protected by the Barracuda Web Application Firewall. Example: 10.11.2.3
- Select the group under which the service needs to be added, or create a new group. Example: default
- Certificate: Select the certificate that needs to be presented to the browser when accessing the service.
- Click Add.
- Create a Redirect service:
- Service Name: Enter a name for the service. Example: foobar_redirect
- Type: Select Redirect Service.
- Virtual IP Address: Enter the virtual IP address specified in Step 2.c
- Port: Enter the port number. Example: 80
- Select the group under which the HTTPS service created in Step 2.f is added.
- Click Add.
- Now, if a user attempts to access foobar_redirect, the request will be redirected to foobar.