netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Serguei Bezverkhi (sbezverk)" <sbezverk@cisco.com>
To: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Subject: nft equivalent of iptables command
Date: Thu, 22 Aug 2019 13:57:24 +0000	[thread overview]
Message-ID: <69AAC254-AF78-4918-82B5-14B3EDB10EDB@cisco.com> (raw)

Hello,

I am trying to find an equivalent nft command for the following iptables command.  Specifically "physdev" and "addrtype", I could not find so far, some help would be very appreciated.

-A KUBE-SERVICES 
-m comment --comment "default/portal:portal external IP" 
-m tcp 
-p tcp 
-d 192.168.80.104/32 
--dport 8989 
-m physdev ! --physdev-is-in             
-m addrtype ! --src-type LOCAL 
-j KUBE-SVC-MUPXPVK4XAZHSWAR

Thank you
Serguei


             reply	other threads:[~2019-08-22 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22 13:57 Serguei Bezverkhi (sbezverk) [this message]
2019-08-22 14:16 ` nft equivalent of iptables command Florian Westphal
2019-08-22 14:49   ` Dan Williams
2019-08-22 15:04     ` Serguei Bezverkhi (sbezverk)
2019-08-22 15:16       ` Florian Westphal
2019-08-22 15:24         ` Serguei Bezverkhi (sbezverk)
2019-08-22 15:04   ` Serguei Bezverkhi (sbezverk)

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=69AAC254-AF78-4918-82B5-14B3EDB10EDB@cisco.com \
    --to=sbezverk@cisco.com \
    --cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).