Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Lennart A. Hansen" <lah@euclolland.dk>
To: netfilter@lists.netfilter.org
Subject: NAT with REDIRECT fuck up...
Date: Mon, 31 Jan 2005 13:14:16 +0100	[thread overview]
Message-ID: <41FE2118.8020108@euclolland.dk> (raw)

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

Hey ppl..

I have of cause searched before posting, but havent found anything 
simmilar..

Short story is that i want to redirect proxy request to host1:9001 to 
host2:3128, host2 is a bridge i'm on eth1 and host1 is on eth0

My intenstion is to catch all request to host1:9001 and redirect them to 
host2:3128.

iptables command:
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 8080 -j REDIRECT 
--to-port 3128

This worked at first, but stopped working just like that..

I have sniffed on it, and attached it here.. 12kb Ethercap format

It looks really fucked up, check sum error and so on...

Anyone have any idea why it's fucking up?

[-- Attachment #2: sniffed --]
[-- Type: application/octet-stream, Size: 11762 bytes --]

             reply	other threads:[~2005-01-31 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 12:14 Lennart A. Hansen [this message]
2005-02-01 13:26 ` NAT with REDIRECT #$%@ up Jason Opperisano
2005-02-01 15:52   ` Lennart A. Hansen

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=41FE2118.8020108@euclolland.dk \
    --to=lah@euclolland.dk \
    --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