OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • HA Proxy Rule Error?
« previous next »
  • Print
Pages: [1]

Author Topic: HA Proxy Rule Error?  (Read 1676 times)

docb

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 3
    • View Profile
HA Proxy Rule Error?
« on: April 08, 2018, 01:08:04 am »
Hi,
I have defined 3 conditions and some corresponding rules, but it does not work how expectet:
Condition 1: if path matches /test  -> Rule 1 use backend 1
Condition 2: if path matches /othertest  -> Rule 2 use backend 1
Condition 3: if SSL/TLS connection established
=> Rule 3 "Redirect": UNLESS Condition 1, Condition 2, Condition 3; logical operator OR  then http-request redirect prefix https://www.google.de (I want to redirect all traffic if not ment for one of my Servers and if not SSL)

And I have a frontend where I activate all 3 rules.
Result: Rule 1 and 2 work, but Redirect does not work, if I use https://myserver/notest I get a 503 Service Unavailable instead of a redirect.
Has anyone an idea what goes wrong?
Best regards
doc
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • HA Proxy Rule Error?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2