All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Artūras Šlajus" <x11@h2o.pieva.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] fwmark / MARK / --set-mark  syntax never run on my system!
Date: Fri, 21 May 2004 10:33:50 +0000	[thread overview]
Message-ID: <40ADDB0E.10006@h2o.pieva.net> (raw)
In-Reply-To: <000c01c43f08$12e1e960$0314a8c0@de>

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

Holger wrote:
> Hello!
>  
> This arguments never run on my system, but I need this:
>  
>  
> #!/bin/bash -x
>  
> echo "1"
> iptables -t mangle -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2
To what chain this rule goes? Probably FORWARD
iptables -t mangle -I FORWARD -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2

> echo "2"
> echo "201 T1" >> /etc/iproute2/rt_tables
>  
> echo "3"
> ip rule add fwmark 2 table T1
ip rule add fwmark 2 lookup T1

> echo "4"
> ip route add default via 192.168.21.2 dev eth1 table T1
You probably still have old route

> When you know what is wrong, please send a step by step tutorial or 
> personal in german at my e-mail addy.
I think it's lame to be admin and ask step by step tutorials
Afterall, what is your head meant for?

> Thank you very much.
You're welcome.

[-- Attachment #2: x11.vcf --]
[-- Type: text/x-vcard, Size: 250 bytes --]

begin:vcard
fn;quoted-printable:Art=C5=ABras =C5=A0lajus
n;quoted-printable;quoted-printable:=C5=A0lajus;Art=C5=ABras
email;internet:x11@h2o.pieva.net
tel;cell:+37068958733
x-mozilla-html:FALSE
url:http://h2o.sky.lt/
version:2.1
end:vcard


  reply	other threads:[~2004-05-21 10:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21  7:48 [LARTC] fwmark / MARK / --set-mark syntax never run on my system! Search step by step help Holger
2004-05-21 10:33 ` Artūras Šlajus [this message]
2004-05-21 12:07 ` [LARTC] fwmark / MARK / --set-mark syntax never run on my system!Search " Holger

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=40ADDB0E.10006@h2o.pieva.net \
    --to=x11@h2o.pieva.net \
    --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.