Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Problem with Transparent Proxy
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem with Transparent Proxy (Read 3315 times)
ohara
Newbie
Posts: 19
Karma: 0
Problem with Transparent Proxy
«
on:
April 27, 2023, 12:43:59 am »
Hello to all forum users.
I have this problem, I have configured Transparent Proxy in OPNsense 22.7-amd64.
I used the information contained in the YouTube: OPNsense Web Filtering/Proxy Configuration and in the Setup Transparent Proxy guide
And something is wrong.
I created a new certificate authority,
I imported the key into my OS and set it as trusted.
And it still (on some pages) shows me the messages: Software is preventing Firefox from connecting securely to the page.
And on other pages, e.g. with movies, it loads the page but as if the CSS stylesheet is missing.
What can I do to fix this problem.
Logged
TrustedComputer
Newbie
Posts: 19
Karma: 1
Re: Problem with Transparent Proxy
«
Reply #1 on:
April 27, 2023, 01:09:36 am »
Hi, you followed this guide?
https://docs.opnsense.org/manual/how-tos/proxytransparent.html
You probably need to import the certificate into the Firefox Browser and not the OS. Or enable Firefox to search and import OS CA's:
https://support.mozilla.org/en-US/kb/setting-certificate-authorities-firefox
Logged
ohara
Newbie
Posts: 19
Karma: 0
Re: Problem with Transparent Proxy
«
Reply #2 on:
April 27, 2023, 01:20:42 am »
OK, I'll check out this guide and follow your suggestion.
If there's still a problem, I'll ask again.
Logged
ohara
Newbie
Posts: 19
Karma: 0
Re: Problem with Transparent Proxy
«
Reply #3 on:
April 27, 2023, 01:49:09 am »
I answer:
I followed this:
https://docs.opnsense.org/manual/how-tos/proxytransparent.html
, and this tutorial:
https://www.youtube.com/watch?v=o67NaMbjwaE
But there was nothing about changes in Firefox.
Regarding Setting Up Certificate Authorities (CAs) in Firefox
i have to screw it up. From what I've read, I have to make changes in the registry editor.
Logged
ohara
Newbie
Posts: 19
Karma: 0
Re: Problem with Transparent Proxy
«
Reply #4 on:
April 27, 2023, 09:59:39 am »
Hello again,
I followed the suggestions
TrustedComputer, and it works fine.
But ... another problem arose. Before I set up a transparent proxy, this directive placed in the file:
sqiud.conf
worked (and blocked me from Facebook):
Code:
[Select]
acl facebook dstdomain facebook.com
http_access deny facebook
.
Now in transparent proxy doesn't work,...why? I also duplicated this in pis in the header.conf file located in the directory:
\usr\local\etc\squid\
Logged
ohara
Newbie
Posts: 19
Karma: 0
Re: Problem with Transparent Proxy
«
Reply #5 on:
April 27, 2023, 07:31:45 pm »
Please consider the previous entry as non-existent, I managed to remove the error.
But that's not all, another problem has arisen.
I set up an additional user account on win7, I did the same as "TrustedComputer" told me, and here is a total failure. At the top (next to the address bar) there is a padlock with an exclamation mark and the inscription unsecured.
Firefox shows the message: "'
google.com' is probably a secure site, but a secure connection could not be established. This is caused by the program 'opnsense-ssl-ca' running on this computer or network
."
Do colleagues have any suggestions?
Logged
ohara
Newbie
Posts: 19
Karma: 0
Re: Problem with Transparent Proxy
«
Reply #6 on:
April 27, 2023, 09:20:13 pm »
Gentlemen, I withdraw all questions.
Due to my failure to read the advice contained here:
https://support.mozilla.org/en-US/kb/setting-certificate-authorities-firefox
, I had an error.
Now everything works!!!!!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Problem with Transparent Proxy