For some reason the spoofing section breaks networking on OVH Ubuntu 22.04 LTS. No way to open new ssh connections even with that port allowed, or emptying all rules. There is no way to turn off this setting either.
The default setting on the machine is 2 on the rp_filter of the machine.
This is the related section
# No spoofing.
if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]
then
for filter in /proc/sys/net/ipv4/conf/*/rp_filter
do
echo 1 > $filter
done
fi
My recent experience would also suggest this is an issue with Digital Ocean Ubuntu 22.04 LTS instances. This seems to impact protocols other than ssh as well.
For some reason the spoofing section breaks networking on OVH Ubuntu 22.04 LTS. No way to open new ssh connections even with that port allowed, or emptying all rules. There is no way to turn off this setting either.
The default setting on the machine is 2 on the rp_filter of the machine.
This is the related section