The redirect service is a non-SSL service that redirects all HTTP requests to another service such as an existing HTTPS service. Since the sole 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 for a HTTPS 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 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 the service should be added to, 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 above in step 2.
- Port – Enter the port number. Example: 80
- Select the group under which the HTTPS service created in step 5a is added.
- Click Add.
- Now, if a user attempts to access foobar_redirect, the request will be redirected to foobar.
- Create an HTTPS service:
For additional instructions go to the BASIC > Services page and click Help .