All of lore.kernel.org
 help / color / mirror / Atom feed
From: TEJAS VORA <voratejas@gmail.com>
To: bridge@lists.osdl.org
Subject: [Bridge] Bridge / Transparent Proxy
Date: Wed, 6 Oct 2004 18:44:56 -0700	[thread overview]
Message-ID: <88240e9404100618443d96907e@mail.gmail.com> (raw)

Hi,

I am using my machine as a Bridge and running transparent proxy on it.
My question is - where the brdige will work?

Do brdige will forward the packet before it reaches to iptables rule?
If yes then what is the solution - as I want to use my machine as
Transparent proxy and I have setup iptables rules on it.

I have tried so many times - look at the tcpdump also - but it seems
that packets are not following iptables rule and just being forwarded
normally.

Config is : 

FTP server - 192.168.11.160
Bridge - 192.168.11.201

I have setup jftpgw FTP transparent proxy on bridge. Which listens on
port 2370. I have set a iptables rule

iptables -t nat -A PREROUTING -p tcp -d 0/0 -s 0/0 --dport 21 -J DNAT
--to 192.168.11.201:2370

Now I am trying to access FTP Server (192.168.11.160) from out side -
and checking the tcpdump on the Brdige (proxy) machine for port 2370 -
but nothingis coming up. Also on FTP machine the tcpdump shows direct
connection. So it seems my transparent porxy is not coming in between
and bridge is directly forwarding packet.

What is the solution to this problem?

Thanks,
Tejas

             reply	other threads:[~2004-10-07  1:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07  1:44 TEJAS VORA [this message]
     [not found] ` <1097275463.16787.110.camel@localhost.localdomain>
     [not found]   ` <88240e94041015202366a6b6a6@mail.gmail.com>
2004-10-17 18:46     ` [Bridge] Bridge / Transparent Proxy TEJAS VORA

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=88240e9404100618443d96907e@mail.gmail.com \
    --to=voratejas@gmail.com \
    --cc=bridge@lists.osdl.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.