All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rio Martin" <rio@martin.mu>
To: netfilter@lists.netfilter.org
Subject: Re: How to classify this packets into correct mangle table?
Date: Fri, 21 Jan 2005 17:55:27 +0000	[thread overview]
Message-ID: <1106330127627.t3rmppc@com.sg> (raw)

--- Samuel =?iso-8859-1?B?RO1heiBHYXJj7WE=?= <samueldg@arcoscom.com> wrote:
> What's do you need?
> Shape the incoming traffic from 192.x subnet? Shape the outgoing traffic >
to 
> 192.x subnet? Only shape from/to internet these subnets? Explain a bit. 

I need both outgoing and incoming.
Yes, i ve tried with IMQ but failed, because if i set PREROUTING -i eth0, it
only recognize my public IP, not 192.168.1.x

There are no packets flowing directly to 192.168.1.x coming from the
internet. That because those IP have been set to be NATed to my public IP
before leaving out the interface linked to the internet (eth0).

Regards,
Rio Martin.


> > Dear all,
> > I am so confuse classifying the correct packets into mangle table.
> > Here i describe the situation. 
> > 
> > LAN ---- :eth1 [ LINUX-BOX ] eth0: ---- INTERNET
> > eth0 220.1.1.1
> > eth0:1 192.168.1.1
> > eth0:2 192.168.1.2
> > eth1 10.10.10.1 [network 10.10.10.0/24] 
> > 
> > I ve those two private IP aliases in eth0 and those get NATed to 220.1.>
1.1
> > before reaching the internet. 
> > 
> > I need to shape those two IPs in TC, but i am confuse how to classify i>
t on
> > mangle table. I need to shape the incoming and outgoing packets from th>
ose
> > two IPs. 
> > 
> > Need help, thanks .. 
> > 
> > Regards,
> > Rio Martin. 
> > 
> > 
>  
> 
> 
> Samuel Díaz Garcí­a
> Director Gerente
> ArcosCom Wireless, S.L.L. 
> 
> mailto:samueldg@arcoscom.com
> http://www.arcoscom.com
> móvil: 651 93 72 48
> tlfn/fax: 956 70 13 15 
> 
> 



             reply	other threads:[~2005-01-21 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 17:55 Rio Martin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-01-21 17:13 How to classify this packets into correct mangle table? Rio Martin

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=1106330127627.t3rmppc@com.sg \
    --to=rio@martin.mu \
    --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 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.