Linux Netfilter discussions
 help / color / mirror / Atom feed
From: decompose <decompose@orcon.net.nz>
To: netfilter@lists.netfilter.org
Subject: I'm sure you can solve this
Date: Thu, 01 Apr 2004 18:47:24 +1200	[thread overview]
Message-ID: <406BBAFC.8020600@orcon.net.nz> (raw)

Hi Ive read the docs and still can't work it out (Yes I'm stupid)

Background: I want to forward traffic from hosts on the switch to 
through router A to router B. (and later from router B to a host on the 
switch, but i guess I could just invert the first problem).

I think one of the reasons i'm having trouble with this is because all 
hosts are on the same subnet (here is the setup)

[switch]-->[router A]-->[router B]-->(Inet)
         192.168.0/24

Ive tryed various things this being one of them (where x is a host on 
the switch)
iptables -t mangle -A POSTROUTING -p tcp -s 192.168.0.x -d 192.168.0.223 
--destination-port 80

I hope my question is clear enough. Thanks in advance




             reply	other threads:[~2004-04-01  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-01  6:47 decompose [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-01 17:36 I'm sure you can solve this Daniel Chemko

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=406BBAFC.8020600@orcon.net.nz \
    --to=decompose@orcon.net.nz \
    --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