From: Calum Mackay <calum.mackay@oracle.com>
To: linux-nfs@trodman.com, linux-nfs@vger.kernel.org
Cc: Calum Mackay <calum.mackay@oracle.com>
Subject: Re: recipe/example for nftables supporting Internet nfs4?
Date: Tue, 23 Jul 2024 22:28:21 +0100 [thread overview]
Message-ID: <9a8043e5-9f97-45c0-a26f-a882acd1e320@oracle.com> (raw)
In-Reply-To: <202407231953.46NJrpWr3811115@epjdn.zq3q.org>
On 23/07/2024 8:53 pm, linux-nfs@trodman.com wrote:
> I have a fedora server on Internet sharing out NFS; working ok for 3+years w/firewalld. I'm going w/pure nftables on a new server. Does anyone have a recipe/example for setting up an NFS server using nftables?
I'm still stuck on iptables, but I imagine it ought to be something
simple like adding this to your NFSv4 server's inbound chain:
tcp dport 2049 accept
assuming you have a default accept policy on your outbound chain.
That's just for NFSv4 over TCP, of course. And you might want to add ct
connection tracking state, etc.
best wishes,
calum.
next prev parent reply other threads:[~2024-07-23 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-23 19:53 recipe/example for nftables supporting Internet nfs4? linux-nfs
2024-07-23 21:28 ` Calum Mackay [this message]
2024-07-24 16:17 ` recipe/example | nftables for Internet nfs4? << iif enp1s0 tcp dport 2049 counter accept comment "allow nfs" linux-nfs
2024-07-24 23:59 ` Calum Mackay
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=9a8043e5-9f97-45c0-a26f-a882acd1e320@oracle.com \
--to=calum.mackay@oracle.com \
--cc=linux-nfs@trodman.com \
--cc=linux-nfs@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