LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Matthew Moyle-Croft <mmc@mmc.com.au>
  To  : Ryan Verner <xfesty@computeraddictions.com.au>
  Date: Tue, 8 Jul 2003 22:19:09 +0930 (CST)

Re: ADSL Shaper

> Few questions:
> 
> > iptables -t mangle -A POSTROUTING -s 192.207.120.0/255.255.255.128 -j MARK
> --set-mark 0x5

> 192.207.120/25 is your internal lan?

Just thought about it.  Have to go check when ipfilter does nat 
(before/after routing) as this will affect what statements to put in this 
when you're doing nat (ie. do you put 10/8 or your real public address?).

Maybe better to mark based on the incoming interface (-i eth0 for example)
-- 
Matthew
--
Matthew@Moyle-Croft.com    | mmc@mmc.com.au        |    mmc@206gti.net
http://www.Moyle-Croft.com | http://www.mmc.com.au | http://206gti.net

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page