From: Florian Westphal <fw@strlen.de>
To: "Marek Greško" <mgresko8@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: ipsec matching in postrouting nat
Date: Sat, 20 Jun 2020 23:00:35 +0200 [thread overview]
Message-ID: <20200620210035.GG26990@breakpoint.cc> (raw)
In-Reply-To: <CAChjPdR5sZrJKhAgL1BK1wH3Gk64Fx4F1o+KYkJUJ-OcrMjGvg@mail.gmail.com>
Marek Gre¨ko <mgresko8@gmail.com> wrote:
> Hello,
>
> I would like to write rule similar to:
>
> iptables -t nat -A POSTROUTING -o ppp0 -m policy --dir out --pol ipsec -j RETURN
>
> in nftables. But I am not successful.
>
> I tried:
>
> oifname "ppp0" meta secpath exists return
>
> with no luck.
>
> Is there some equvalent of the iptables command?
Try replacing 'meta secpath' with 'rt ipsec'
prev parent reply other threads:[~2020-06-20 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-20 20:33 ipsec matching in postrouting nat Marek Greško
2020-06-20 21:00 ` Florian Westphal [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=20200620210035.GG26990@breakpoint.cc \
--to=fw@strlen.de \
--cc=mgresko8@gmail.com \
--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 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.