Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: fwmark & iptables
Date: Thu, 28 Jan 2010 14:35:00 +0100	[thread overview]
Message-ID: <4B619284.5030905@plouf.fr.eu.org> (raw)
In-Reply-To: <fcfe0b071001280526t75cdc774x8d3a91497e8af2cf@mail.gmail.com>

Matt Hakim a écrit :
> 
>> Either select the source address in the application or SNAT/MASQUERADE
>> on ppp0 for IPv4 traffic.
> 
> Tried that. Worked outbound, but inbound I could only LOG the packets
> at mangle PREROUTING (I think),  and then they disappeared. No idea
> why.

Forgot about that, sorry. Make sure sysctl net.ipv4.conf.ppp0.rp_filter
is set to 0 after ppp0 is created, otherwise the packet is discarded at
the input routing decision stage. sysctl net.ipv4.conf.default.rp_filter
contains the value that will be set for any new interface.

  reply	other threads:[~2010-01-28 13:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 10:37 fwmark & iptables Matt Hakim
2010-01-28 11:36 ` Pascal Hambourg
2010-01-28 13:26   ` Matt Hakim
2010-01-28 13:35     ` Pascal Hambourg [this message]
2010-01-28 20:50       ` Matt Hakim
2010-01-28 23:06         ` Matt Hakim
2010-01-29  6:24           ` Pascal Hambourg
2010-01-28 11:37 ` Oskar Berggren

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=4B619284.5030905@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@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