Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Change the web proxy "access denied" page
« previous
next »
Print
Pages: [
1
]
Author
Topic: Change the web proxy "access denied" page (Read 1701 times)
randomwalk
Newbie
Posts: 33
Karma: 2
Change the web proxy "access denied" page
«
on:
May 24, 2020, 07:42:23 pm »
I recently set up a transparent proxy to filter traffic for selected devices on the network. It works great.
But when you try to access a blacklisted page, the proxy gives this message that says "access denied" and to contact your administrator. Is there a way to customize that page to say something else?
Or even silently redirect any blacklisted page access attempts to another website randomly selected from a list?
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Change the web proxy "access denied" page
«
Reply #1 on:
May 24, 2020, 09:54:41 pm »
This is officially not supported but you can overwrite the files in a /usr/local/etc/squid subdirectory. Keep in mind that those changes may not survive squid updates (not common but may happen)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Change the web proxy "access denied" page