Add vers=4
to the mount command.
sudo mount -o vers=4,resvport,rw -t nfs x.x.x.x:/home mount
#!/bin/bash | |
# Setup encrypted IPv4 tunnel over IPv4 or IPv6 on two Linux nodes using SSH for tunnel setup. | |
# Requires only ipsec-tools, iproute2, ssh and necessry kernel modules locally and remotely. | |
# Warning: it flushes IPsec settings both locally and remotely. | |
# Don't use with other IPsec tunnnels. | |
# Sample usage: | |
# simplevpn -6 fc::1 fc::2 ssh -T root@fc::2 |
#!/bin/sh -e | |
hostname=$1 | |
device=$2 | |
file=$HOME/.dynv6.addr6 | |
[ -e $file ] && old=`cat $file` | |
if [ -z "$hostname" -o -z "$token" ]; then | |
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]" | |
exit 1 | |
fi |
#!/bin/sh | |
# Script to be placed in /etc/initramfs-tools/hooks/ipv6 | |
PREREQ="" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} |
{ | |
"comment": "Sample configuration for the NAT64 Jool service.", | |
"instance": "default", | |
"framework": "netfilter", | |
"global": { | |
"comment": "Sample pool6 prefix", | |
"pool6": "64:ff9b::/96" | |
} |
#!/bin/bash | |
# Wireguard auf Debian/Raspbian einrichten, | |
# nach c't 15/2019, S. 166 | |
# * läuft auf Raspbian oder Debian Netinst (Buster) | |
# * bitte nur auf frischen Installationen verwenden | |
# * Skript überschreibt Netzwerkkonfiguration | |
# * als pi (Raspbian) oder als root/passwortloses sudo (Debian) ausführen | |
# * schreibt Protokoll nach /var/log/wgstrap.log | |
# * zweistufiger Prozess, der einen Reboot erfordert |