Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Miernik <miernik@ctnet.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Splitting locally generated traffic based on destination
Date: Sat, 31 Aug 2002 19:46:31 +0000	[thread overview]
Message-ID: <marc-lartc-103082331222932@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103082070321370@msgid-missing>

On Sat, 31 Aug 2002, Arthur Donkers wrote:

> I have added a table mail.out to /etc/iproute2/rt_tables and defined rules
> like this:
>
> ip rule add fwmark 1 table mail.out
> ip route add default via <gw on eth0 network> dev eth0 src <eth0>
>
> And when I do this:
>
> telnet <mailhost> 25
>
> I indeed see a SYN packet coming out of eth0 to <mailhost>, and a SYN/ACK
> packet comes back. The problem is that it appears that the Linux box does
> not see this SYN/ACK packet and resends the SYN packet after a few
> seconds, which again is answered by a SYN/ACK and this goes on a few
> times. No other packet filters are active on the Linux box (yet).

Try:

echo "0" > /proc/sys/net/ipv4/conf/eth0/rp_filter

If it works, to make it permanent, include this line in your
/etc/sysctl.conf file:

net/ipv4/conf/eth0/rp_filter = 0

-- 
Miernik              _____________________________________
                    /   /
tel.: +48603070983 /   /  mailto:miernik@ctnet.pl
__________________/___/  ICQ UIN: 4004001

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

  reply	other threads:[~2002-08-31 19:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-31 19:03 [LARTC] Splitting locally generated traffic based on destination port Arthur Donkers
2002-08-31 19:46 ` Miernik [this message]
2002-08-31 19:47 ` Sebastian Bleikamp
2002-08-31 20:41 ` Arthur Donkers

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-103082331222932@msgid-missing \
    --to=miernik@ctnet.pl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox