OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How to Set a Proxy Server automatic on all Clients
« previous next »
  • Print
Pages: [1]

Author Topic: How to Set a Proxy Server automatic on all Clients  (Read 7183 times)

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
How to Set a Proxy Server automatic on all Clients
« on: November 22, 2016, 07:27:37 am »
My 1st opnsense server with multiwan setup and DNS Resolver was stable and i enable proxy server,

Question: Guys it is possible to set the proxy server automatic to all clients without configuring browser to set the proxy server.



My Setup:
General Setting:



Forward Proxy:



I tried and test the proxy server with browser ( Firefox) and its working fine.


with authentication setting also works fine.



Regards,
James
Logged

faunsen

  • Full Member
  • ***
  • Posts: 102
  • Karma: 17
    • View Profile
Re: How to Set a Proxy Server automatic on all Clients
« Reply #1 on: November 22, 2016, 08:52:19 am »
Hi James,

unfortunately you can't.

But you can Setup Transparent Proxy.


Kind regards
Frank
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: How to Set a Proxy Server automatic on all Clients
« Reply #2 on: November 22, 2016, 09:31:16 am »
Multi-WAN + Transparent Proxy doesn't currently work in FreeBSD.


Cheers,
Franco
Logged

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: How to Set a Proxy Server automatic on all Clients
« Reply #3 on: November 22, 2016, 10:26:44 am »
Quote from: franco on November 22, 2016, 09:31:16 am
Multi-WAN + Transparent Proxy doesn't currently work in FreeBSD.


Cheers,
Franco

thanks i setup transparent proxy and works fine, my problem is the ssl certificate it needs to install manually on client side.
« Last Edit: November 22, 2016, 02:37:41 pm by pr3p »
Logged

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: How to Set a Proxy Server automatic on all Clients
« Reply #4 on: November 22, 2016, 10:29:21 am »
Proxy Server:
The proxy server is working fine but  i got problem on downloading ACL's it seems doenst apply or download.

https://docs.opnsense.org/manual/how-tos/proxywebfilter.html


is it ok to set this way? on local cache setting. i want to maximize the server.


System Information:


Regards,
pr3p
« Last Edit: November 22, 2016, 02:34:06 pm by pr3p »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: How to Set a Proxy Server automatic on all Clients
« Reply #5 on: November 22, 2016, 03:51:56 pm »
On Windows you should be able to do this via a group policy - then you would have it inside most apps (except some which bring their own trust store) and on Linux you would have to use some kind of an automation tool which will copy the certificates on the system and updates the ca store. On Linux you can set the environment variable HTTP_PROXY inside a login script so the applications will be aware of an proxy if you are not using a transparent proxy.
Logged

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: How to Set a Proxy Server automatic on all Clients
« Reply #6 on: November 22, 2016, 04:33:43 pm »
Quote from: fabian on November 22, 2016, 03:51:56 pm
On Windows you should be able to do this via a group policy - then you would have it inside most apps (except some which bring their own trust store) and on Linux you would have to use some kind of an automation tool which will copy the certificates on the system and updates the ca store. On Linux you can set the environment variable HTTP_PROXY inside a login script so the applications will be aware of an proxy if you are not using a transparent proxy.

Thanks fabian, its working like a charm now, but some website with ssl has problem like on google drive/gmail i was not able to create folder when   SSL mode is enabled.

Anyway can you check also the ACL its not applying or downloading.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: How to Set a Proxy Server automatic on all Clients
« Reply #7 on: November 22, 2016, 07:32:43 pm »
This sounds like a TLS connection failed (maybe due a certificate mismatch). You should check if the connection is rejected (maybe by having open the network tab of FireBug or a similar tool) by looking at the error messages.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How to Set a Proxy Server automatic on all Clients
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2