From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Ana Rey <anarey@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [iptables PATCH] extensions: udp: add translation to nft
Date: Wed, 23 Apr 2014 14:29:07 +0200 [thread overview]
Message-ID: <20140423122907.GA18536@localhost> (raw)
In-Reply-To: <a23cb222241de735c0f1bd19492ed7ea752b65f8.1397632430.git.anarey@gmail.com>
On Wed, Apr 16, 2014 at 09:19:40AM +0200, Ana Rey wrote:
> Some examples:
>
> $ sudo iptables-translate -A INPUT -p udp -i eth0 --sport 53 -j ACCEPT
> add rule ip filter INPUT iifname eth0 udp sport 53 counter accept
>
> $ sudo ./iptables-translate -A OUTPUT -p udp -o eth0 --dport 53:66 -j DROP
> add rule ip filter OUTPUT oifname eth0 udp dport 53-66 counter drop
>
> $ sudo ./iptables-translate -I OUTPUT -p udp -d 8.8.8.8 -j ACCEPT
> nft insert rule ip filter OUTPUT ip protocol udp ip daddr 8.8.8.8 counter accept
Applied to the xlate branch of iptables, will merge that branch into
master once we get a significant amount of iptables to nft translations.
Thanks Ana.
prev parent reply other threads:[~2014-04-23 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 7:19 [iptables PATCH] extensions: udp: add translation to nft Ana Rey
2014-04-23 12:29 ` Pablo Neira Ayuso [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=20140423122907.GA18536@localhost \
--to=pablo@netfilter.org \
--cc=anarey@gmail.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 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.