Does enabling syncookies help? Eg:
Adjust /etc/ufw/sysctl.conf to have (ie, comment out the line that sets it to '0'): #net/ipv4/tcp_syncookies=0
Then do: $ sudo sysctl -w net/ipv4/tcp_syncookies=1
Does enabling syncookies help? Eg:
Adjust /etc/ufw/ sysctl. conf to have (ie, comment out the line that sets it to '0'): tcp_syncookies= 0
#net/ipv4/
Then do: tcp_syncookies= 1
$ sudo sysctl -w net/ipv4/