OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Disable HTTP_REFERER from the Shell
« previous next »
  • Print
Pages: [1]

Author Topic: Disable HTTP_REFERER from the Shell  (Read 9078 times)

Meik

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
    • View Profile
Disable HTTP_REFERER from the Shell
« on: September 08, 2017, 07:29:23 pm »
Hi all,

i would install a 17.7 on a vserver at my Provider.

there is a special, they route the public ip to a private 172.1.1.1
i only have one Network Interface so i set wan to the "Internet" IP.

when i would access the Webinterface this comes:

Quote
The HTTP_REFERER "http://1.2.3.4/" does not match the predefined settings. You can disable this check if needed under System: Settings: Administration.

Is there a way to disable the HTTP_REFERER check from the Shell, or include the "real" secound IP to it?.


Thanks for helping ways :-)
                                         Meik
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: Disable HTTP_REFERER from the Shell
« Reply #1 on: September 09, 2017, 12:33:36 pm »
Hi Meik,

Not entirely sure, but try this:

# touch /tmp/disable_security_checks


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Disable HTTP_REFERER from the Shell
 

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