Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Askar <askarali@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: by passing transparent proxy
Date: Tue, 6 Sep 2005 17:32:08 +0500	[thread overview]
Message-ID: <a0f69e5050906053236bcec9f@mail.gmail.com> (raw)
In-Reply-To: <20050906120443.25918.qmail@webmail52.rediffmail.com>

On 6 Sep 2005 12:04:43 -0000, bimal pandit <bimal_pandit@rediffmail.com> 
wrote:
> 
> Dear Askar, 
> 
> 
> On Tue, 06 Sep 2005 Askar wrote :
> >hi list
> >
> >i have a very simple question, we have a transparent proxy "squid" for 
> our
> >users, this machine is also the default gateway for the user. which mean 
> all
> >the traffic of the client do pass from this machine whether its port 80 
> or
> >not.
> >All teh port 80 traffic redirected to squid 3128 by ...
> >
> >$iptables -t nat -A PREROUTING -i eth0 -p tcp -s 0/0 --dport 80 -j 
> REDIRECT
> >--to-port 3128
> >
> >Now I want to a client -s xx.xx.xx.xx access a site -d xx.xx.xx.xx then 
> his
> >traffic by pass the squid. actaully if the client xx.xx goes through 
> squid
> >while accessing that site then the far end web server gives him 
> permission
> >denied.
> >However on web server I could only allow the static ip of the client
> >xx.xxbut not the squid server. its a secure web server.
> >
> >
> >any help in this regards wil be greatly appreciated
> >
> >regards
> >
> >askar
> >
> >
> 
> I dont think that accessing https request is an issue, I am quite able 
> enough to get it as 443 is under safe port in my squid.conf.
> 


Sorry my bad, from secure means that web server running on port 80 but only 
> accessible from certain IPs (restricted by htaccess)
> 


remember all connections will go through 3128 and will make high port 
> connections for the transactions.
> 
> hope this will help a bit.
> 
> regards,
> 
> Bimal
>  
> 
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3> 




-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

       reply	other threads:[~2005-09-06 12:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050906120443.25918.qmail@webmail52.rediffmail.com>
2005-09-06 12:32 ` Askar [this message]
2005-09-06 11:11 by passing transparent proxy Askar
2005-09-06 16:33 ` /dev/rob0
2005-09-06 19:37   ` Askar

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=a0f69e5050906053236bcec9f@mail.gmail.com \
    --to=askarali@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox