LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2009, 01:44 AM   #1
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
transparent browsing https


Hi,

i am using squid transparent browsing. its working fine for 80. but when i try to enable transparent browsing for HTTPS, users are facing problems to access https web sites.


using following rules

Code:
/sbin/iptables -t nat -A PREROUTING  -p tcp --dport 443 -j REDIRECT --to-port 8080
/sbin/iptables -t nat -A PREROUTING  -p tcp --dport 443 -j DNAT --to 192.168.12.3:8080
 
Old 09-25-2009, 03:03 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,683
Blog Entries: 33

Rep: Reputation: 288Reputation: 288Reputation: 288
The lines I have for the FW are different, also squid contains these lines to allow access.

squid...
Code:
acl SSL_ports port 443 563
acl Safe_ports port 443 563     # https, snews
iptables script...
Code:
..........snip....
# EGRESS (upstream)
#	
	# SSH
	$IPTABLES -t mangle -A POSTROUTING -p tcp --dport 22 -j MARK --set-mark 10
    
	# Web, SSL
	$IPTABLES -t mangle -A POSTROUTING -p tcp --dport 80 -j MARK --set-mark 20
	$IPTABLES -t mangle -A POSTROUTING -p tcp --dport 443 -j MARK --set-mark 20
..........snip....
I also have the https use the same proxy in the "WebBrowser settings".

Hope this helps, Regards Glenn
 
Old 09-25-2009, 04:49 AM   #3
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Original Poster
Rep: Reputation: 31
using browser setting allows me for HTTPS websites. but i dont want to do these settigs for individual system.
 
Old 09-25-2009, 05:59 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,683
Blog Entries: 33

Rep: Reputation: 288Reputation: 288Reputation: 288
Hi, Here is a page that I have found useful in setting up my fw gateway.

I hope it helps you....
http://www.linuxhomenetworking.com/w...ess_with_Squid

Regards Glenn
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transparent proxy squid: problem with the HTTPS pnguwe Linux - Networking 7 11-22-2011 08:00 AM
https in transparent proxy DeepY0X Linux - Networking 14 03-09-2009 01:49 PM
Problems Browsing Secure Sites (HTTPS) jlrq74 Linux - Wireless Networking 2 09-30-2008 09:05 AM
Transparent (or semi-transparent) mounts systemparadox Linux - General 8 04-01-2005 07:51 AM
Transparent PNGs show up as transparent in Firefox - opaque in IE? vharishankar General 10 01-11-2005 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration