Security News > 2023 > March > Protecting collocated servers from DDoS attacks using GRE tunnels

Protecting collocated servers from DDoS attacks using GRE tunnels
2023-03-09 15:10

After your incoming traffic has been scanned, all safe traffic is forwarded to your network or servers for processing through the GRE tunnel.

GRE tunnels can transport or forward multicast traffic, which is essential for actions like routing protocol advertisement and for video conferencing applications, while a VPN can only transport unicast traffic.

Bash // Create the routing table # echo '100 GRE' >> /etc/iproute2/rt tables // Respect the rules for the private subnet via that table # ip rule add from 192.168.0.0/30 table GRE // Set the default route to make sure all traffic goes via the tunnel remote server # ip route add default via 192.168.0.1 table GRE. That's it! You've successfully set up a connection from your server via a GRE tunnel to a scrubbing center.

We touched on how a GRE tunnel can protect your servers from cyberattacks, such as denial-of-service attacks, by routing the incoming network traffic through Gcore's scrubbing center.

We then walked you through how to set up a GRE tunnel connection using either your Cisco router or your Linux server.

Gcore can protect servers in its data centers as well as servers in clients' data centers using GRE tunnel.


News URL

https://www.bleepingcomputer.com/news/security/protecting-collocated-servers-from-ddos-attacks-using-gre-tunnels/