All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Urbejtel <gurbejtel_test@m6.fr>
To: lartc@vger.kernel.org
Subject: [LARTC] Routing / ip rule / fwmark
Date: Mon, 22 Nov 2004 10:36:24 +0000	[thread overview]
Message-ID: <41A1C128.5060802@m6.fr> (raw)

Hi All,

I'm setting up a box with one default route and another handling only  
web  connection.
Here my conf  :

iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 3

0:      from all lookup local
32766:  from all lookup main <- wich contain route to my lan and 
internet inferfaces
32767:  from all fwmark        3 lookup webbox  <- wich contain only the 
default route for wen traffic
32768:  from all lookup default <- which contain only the other default 
route

The problem : Packets to port 80 go tough the webbox thanks to fwmark 
but the reply from webbox don't cross the fw...
What's the reason ?

Thanks !

Guillaume from france
 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2004-11-22 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22 10:36 Guillaume Urbejtel [this message]
2004-11-22 17:25 ` [LARTC] Routing / ip rule / fwmark Guillaume Urbejtel

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=41A1C128.5060802@m6.fr \
    --to=gurbejtel_test@m6.fr \
    --cc=lartc@vger.kernel.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.