OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] Proxy authentification problem
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Proxy authentification problem  (Read 7262 times)

coom

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
[SOLVED] Proxy authentification problem
« on: February 09, 2016, 11:11:07 pm »
Hi,

I am testing OPNsense 16.1.2-amd64 in a lab environment since 2 days. I would like to test the integrated squid with Local database based authentification, but it seems squid doesn't accept my login/password ?

Here is what I have done under the webui configuration :

Proxy authentification configuration :


I created a test user with "test" as password :


I check that the login and the password are OK :


But when I configure my browser (tested with both IE and Firefox) to use OPNSense as the proxy (192.168.1.254 on port 3128), the browser keep asking for the password :



I even tried with the root login : still no luck.  :(

Has someone an idea about what I did wrong please ?

Thanks by advance, and please excuse my english which is horrible..  :-[
« Last Edit: February 11, 2016, 02:20:07 pm by coom »
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Proxy authentification problem
« Reply #1 on: February 10, 2016, 10:41:06 am »
Your auth settings look normal, maybe the local subnet for your network isn't allowed.
Can you check "Allow interface subnets" and "Proxy interfaces" in the general forward settings?
Logged

coom

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: Proxy authentification problem
« Reply #2 on: February 10, 2016, 11:13:04 am »
Hi,

Here is what you asked to me :



My settings seems correct, but it doesn't work.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Proxy authentification problem
« Reply #3 on: February 10, 2016, 11:14:18 am »
You problem probably is transparant mode, can you try to disable that?
Logged

coom

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: Proxy authentification problem
« Reply #4 on: February 10, 2016, 11:37:57 am »
AdSchellevis: thank you for trying to help me.

I had unchecked the Transparent proxy box, and then rebooted the FW, but same thing.. Firefox keep asking me for the login/password.

When I try this on a pfSense, everything is working well.

Am i missing something?
Logged

sagem2004

  • Newbie
  • *
  • Posts: 38
  • Karma: 2
    • View Profile
Re: Proxy authentification problem
« Reply #5 on: February 10, 2016, 11:49:52 am »
Up
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Proxy authentification problem
« Reply #6 on: February 10, 2016, 01:36:33 pm »
does you local user has "user-proxy-auth" rule set?
For local users it checks for this role, but I think isn't described in the comments I guess.
Logged

coom

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: Proxy authentification problem
« Reply #7 on: February 11, 2016, 01:39:18 pm »
Hi,

Where do I set this rule on my user please ? I cannot find what you're talking about in the WebUI .. :/
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Proxy authentification problem
« Reply #8 on: February 11, 2016, 01:41:08 pm »
1) Go to System -> Access -> User
2) Edit your user
3) scroll down to "Effective Privileges" and add "user-proxy-auth"

You can also use groups and set this privilege on group level.
Logged

coom

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: Proxy authentification problem
« Reply #9 on: February 11, 2016, 01:51:55 pm »
AdSchellevis, you're the best ! I was missing that part of the config needed, sorry, my mistake !

I can continue my tests, and I appreciate your help. Thank you very much !  :D
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] Proxy authentification problem
 

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