Score:0

How do I block outgoing SYN packets on my Ubuntu 18 server?

cn flag

I have an Ubuntu 18 server which is being used as a VPN server ( V2RAY ) . My VPS provider ( OVH ) has sent me this abuse report :

2022.10.22 12:40:47 CEST 51.91.11.***:53258 8.8.8.8:443 TCP SYN 60 ATTACK:TCP_SYN
2022.10.22 12:40:47 CEST 51.91.11.***:43752 157.240.21.63:443 TCP SYN 60 ATTACK:TCP_SYN
2022.10.22 12:40:47 CEST 51.91.11.***:49242 179.60.192.52:443 TCP SYN 60 ATTACK:TCP_SYN
2022.10.22 12:40:47 CEST 51.91.11.***:49166 179.60.192.52:443 TCP SYN 60 ATTACK:TCP_SYN
2022.10.22 12:40:47 CEST 51.91.11.***:49004 179.60.192.52:443 TCP SYN 60 ATTACK:TCP_SYN

It seems to me that a client is using the VPN for attacks . How can I stop SYN packets from going out of my server ?

Score:0
us flag

SYN packets are required for any TCP connections from your server.

You should have proper contract with your client, where you disallow service use for malicious purposes like SYN flood. Based on that contract, you would block the client from using your service.

If you want to have technical limitations, then you can set up rate limiting for SYN packets based on source IP address. However, those limits have to be carefully designed so that it does not disturb clients' normal service.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.