OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: Meik on September 08, 2017, 07:29:23 pm

Title: Disable HTTP_REFERER from the Shell
Post by: Meik 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
Title: Re: Disable HTTP_REFERER from the Shell
Post by: franco on September 09, 2017, 12:33:36 pm
Hi Meik,

Not entirely sure, but try this:

# touch /tmp/disable_security_checks


Cheers,
Franco