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 7238 times)
minime
Newbie
Posts: 32
Karma: 6
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: 32
Karma: 6
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: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
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: 32
Karma: 6
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: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
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: 32
Karma: 6
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: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
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