NFS4 over wireguard (WAN)

From: Julien Cigar <julien_at_perdition.city>
Date: Wed, 18 May 2022 07:45:10 UTC
Hello,

I'm configuring pgbackrest to backup our PostgreSQL server and I'd like
to use the "Multiple Repositories" functionality
(https://pgbackrest.org/user-guide.html#multi-repo) to have one local
repository and one remote (Hetzner dedicated server). The remote server
is running 13.1-RELEASE, our routers/firewalls are running 
12.3-RELEASE (PF, CARP, ...), both with wireguard (using the kernel 
module). 

As pgbackrest supports Posix, S3, Azure, GCS and that I don't use
any of those cloud providers I'd like to setup a NFS server (V4) on the
remote server and mount it on the local server through the wireguard
link. 
I was wondering if special precautions (mount options, sysctl, ...?) 
need to be taken for a NFS link over wireguard (through WAN)?

Thanks!

Julien


-- 
Julien Cigar
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.