All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Routing / ip rule / fwmark
@ 2004-11-22 10:36 Guillaume Urbejtel
  2004-11-22 17:25 ` Guillaume Urbejtel
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Urbejtel @ 2004-11-22 10:36 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-22 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 10:36 [LARTC] Routing / ip rule / fwmark Guillaume Urbejtel
2004-11-22 17:25 ` Guillaume Urbejtel

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.