All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Elijah Alcantara <elijah.alcantara@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Transparent proxy using squid, redirect all ssl/https ... ?
Date: Mon, 22 May 2006 20:26:34 +0200	[thread overview]
Message-ID: <4472025A.1050709@rtij.nl> (raw)
In-Reply-To: <b4a631130605220452i18a16d12tbb97a35433ebda9b@mail.gmail.com>

Elijah Alcantara wrote:

>> See http://lists.debian.org/debian-user/2004/05/msg01434.html
>>
>> HTH,
>> M4
>
>
> Checked out the link. Actualy I'm not really planning to cache secure
> connections like ssl, I only wanted to be able to redirect that
> request to go directly to the internet (bypass squid).
>
> I currently have an iptable rule for that but it's currently not
> working right...


Ah, I see. How about

-A POSTROUTING -p tcp --dport 443 -j SNAT --to 192.168.100.2

Don't forget to turn on forwarding as well and create appropriate 
forwarding rules.

Personally I would set this firewall between your clients and the 
Internet, in that case you don't need SNAT tricks, just basic FORWARDING 
rules.

M4


  reply	other threads:[~2006-05-22 18:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-22  2:17 Transparent proxy using squid, redirect all ssl/https ... ? Elijah Alcantara
2006-05-22 11:30 ` Unknown, martijn
     [not found] ` <8963106281166041607@unknownmsgid>
2006-05-22 11:52   ` Elijah Alcantara
2006-05-22 18:26     ` Martijn Lievaart [this message]
2006-05-23  2:48       ` Elijah Alcantara
2006-05-22 13:57 ` Boryan Yotov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4472025A.1050709@rtij.nl \
    --to=m@rtij.nl \
    --cc=elijah.alcantara@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.