LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-05-2008, 07:29 PM   #1
newhere
LQ Newbie
 
Registered: Feb 2005
Posts: 29

Rep: Reputation: 16
Squid configuration question. Client => HTTPS => proxy => HTTP => webserver


Hi folks,

I'm wondering if it's possible to configure Squid (and a browser) so that the client makes the connection to the proxy over HTTPS even though the final web server connection is only HTTP.

I would like to run a proxy server on my linux box at home and then use that as a proxy from work or other places. But my ISP seems to block incoming HTTP connections. HTTPS connections are not blocked.

So to get around this, can I configure squid (or even a browser for that matter) to connect with something like:
Browser client => HTTPS => squid proxy => HTTP => normal-non-ssl-site.


This is my distro, though I don't think this is relevant. Please move as appropriate thanks.

# cat /etc/redhat-release
Fedora Core release 6 (Zod)
# uname -a
Linux compaqlaptop 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 15:12:59 EST 2007 i686 i686 i386 GNU/Linux

squid-2.6.STABLE13-1.fc6


Thanks for any help.
 
Old 09-05-2008, 09:14 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I have found this site usefull...

http://www.linuxhomenetworking.com/


Sorry I can't comment further as my linux system is down due to a new motherboard. w.i.p.
 
Old 09-05-2008, 11:34 PM   #3
newhere
LQ Newbie
 
Registered: Feb 2005
Posts: 29

Original Poster
Rep: Reputation: 16
Thanks. That forum doesn't look like it gets as much traffic but I'll try posting there as well.
 
Old 09-05-2008, 11:43 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I was pointing you to the tutorials, you might have to read something. :3
Squid:iptables:secure Remote Logins and file copy:

Last edited by GlennsPref; 09-05-2008 at 11:58 PM.
 
Old 09-07-2008, 12:13 AM   #5
newhere
LQ Newbie
 
Registered: Feb 2005
Posts: 29

Original Poster
Rep: Reputation: 16
Yes I'm capable of reading. Thanks for the tip. Nowhere is such a configuration documented and I don't think this is supported. My attempted workaround was to run a local squid proxy (on localhost i.e. my client, and point browser at localhost for a proxy.) and force it to use a peer over ssl (my original proxy, which does not accept unencrypted traffic since my ISP blocks this.) But that didn't work either. Does ssl=>peer squid config support this? I still can't tell but I couldn't get it working.

Silly me I later realized, I can of course just tunnel over ssh (using the -L localport:remotehost:remoteport option) so the solution for me in this case is to just ssh into the original proxy box with the tunneling enabled and tunnel a local port directly to the proxy.

Thanks for the help.
 
Old 02-21-2009, 01:33 PM   #6
bab
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
proxy http inside https with squid

I am also trying to figure out how to proxy http inside https in order to keep http secure while also not bothering with the complications of ssh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can URL used inside an HTTPS session be read by HTTP proxy ? PlatinumX Linux - Security 1 07-30-2008 04:32 AM
Allow only ssl, https:// not http:// on apache2 webserver, Linux therapeias Linux - Server 1 04-11-2008 04:03 PM
slow squid proxy connection with https sides Sammy2ooo Linux - Newbie 0 10-09-2003 02:43 PM
Apache as proxy for http & https queries gosha Linux - Networking 0 07-21-2003 07:41 AM
Squid proxy and https roba Linux - Software 2 08-14-2002 04:15 AM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration