All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Remus" <rmocius@auste.elnet.lt>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] I need some help with u32 filter
Date: Fri, 14 Feb 2003 08:24:59 +0000	[thread overview]
Message-ID: <marc-lartc-104521119616741@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104514274331331@msgid-missing>

Thank very much Stef.
It works.

Best Regards

Remus

----- Original Message ----- 
From: "Stef Coene" <stef.coene@docum.org>
To: "Remus" <rmocius@auste.elnet.lt>; <lartc@mailman.ds9a.nl>
Sent: Thursday, February 13, 2003 8:49 PM
Subject: Re: [LARTC] I need some help with u32 filter


> > ##############
> > tc filter add dev imq0 parent 1:0 protocol ip prio 100 u32 match ip
sport
> > 25 0xffff classid 1:20
> > Is it enough to have only sport 25 on download link or I need the dport
as
> > well?
 You never told us what's redirected to the imq device.  But I suppose it's
 incoming traffic from the internet.  If you want to match mail coming from
 the internet to your smtp server, you need dport 25.  All traffic is sended
 to your smtp and that's server is running on port 25.
>
> > ##############
> > tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip
sport
> > 25 0xffff classid 1:20
> > tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip
sport
> > 110 0xffff classid 1:20
> > The same question on eth0 (upload link)
> > Is it enough to have only sport 25 and 110 on upload link or I need the
> > dport as well?
 You connect to port 25 and it's for traffic leaving the server, so you need
 sport 25.
>
> Stef

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

      parent reply	other threads:[~2003-02-14  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 13:24 [LARTC] I need some help with u32 filter Remus
2003-02-13 20:49 ` Stef Coene
2003-02-14  8:24 ` Remus [this message]

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=marc-lartc-104521119616741@msgid-missing \
    --to=rmocius@auste.elnet.lt \
    --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.