OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Using Proxy also through an OpenVPN connection
« previous next »
  • Print
Pages: [1]

Author Topic: Using Proxy also through an OpenVPN connection  (Read 3148 times)

minime

  • Newbie
  • *
  • Posts: 28
  • Karma: 5
    • View Profile
Using Proxy also through an OpenVPN connection
« on: February 08, 2017, 05:16:58 pm »
Hi guys,

Might be a simple question for you, but I can't figure this quite out. I have a working squid for my LAN, but now I would also make use of it when connected through a OpenVPN connection. How can I achieve this?

Many thanks,
Minime
Logged

minime

  • Newbie
  • *
  • Posts: 28
  • Karma: 5
    • View Profile
Re: Using Proxy also through an OpenVPN connection
« Reply #1 on: February 12, 2017, 03:43:37 pm »
Anyone? I tried it with Port Forwarding with no effect.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2436
  • Karma: 171
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Using Proxy also through an OpenVPN connection
« Reply #2 on: February 12, 2017, 06:54:05 pm »
Does it work, when you configure it in your client and allow it in your firewall rules (for example pass openvpn_net to self port 3128)
Logged

minime

  • Newbie
  • *
  • Posts: 28
  • Karma: 5
    • View Profile
Re: Using Proxy also through an OpenVPN connection
« Reply #3 on: February 13, 2017, 08:30:25 am »
No, and I start to think that it is not possible as it would break the secure connection...  :-/
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2436
  • Karma: 171
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Using Proxy also through an OpenVPN connection
« Reply #4 on: February 13, 2017, 02:28:38 pm »
So your real question is "How do I connect to an OpenVPN server through the proxy?"?

If yes: you need an ACL which will allow a HTTP CONNECT request to your server.
Logged

minime

  • Newbie
  • *
  • Posts: 28
  • Karma: 5
    • View Profile
Re: Using Proxy also through an OpenVPN connection
« Reply #5 on: February 13, 2017, 03:03:06 pm »
Hmmm...not sure, but I think this is not what I mean.

I would like to establish a OpenVPN connection first and then use my squid/proxy to improve performance and also to filter unwanted sites. I am using the OpenVPN server on port 443. Squid is only listening on port 80 (no SSL certificate).

Can I provide further information? What would you need?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2436
  • Karma: 171
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Using Proxy also through an OpenVPN connection
« Reply #6 on: February 14, 2017, 12:48:46 pm »
just add ip:80 as proxy to your browser configuration.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Using Proxy also through an OpenVPN connection
 

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