Re: Can anyone fix this?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> You can't use u32 to filter egress on src if you are NATing - you need
> to mark in POSTROUTING mangle and filter on fw.
>
> Have a look at the kptd on www.docum.org .

Whoops, I was aware of this. I must've sent an old version of the script to 
the list, cause I had fixed that, and that's not the issue anymore.

Basically I guess what I really need is a good example of filtering and 
buckets with two or more tiers (all the examples seem to be only one)

eg
root (100kbps)
	flatmate1(22kbps)
		hi prio
		default
		lo prio
	flatmate2-4 (22 kbps each)
	default (12kbps)

One of the troubles I'm having is setting up defaults. ie. Once a packet is 
filtered into one of the flatmates, how can I send it to the default bucket 
if it doesn't fall into the other two categories.
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux