Security News > 2023 > March > Protecting collocated servers from DDoS attacks using GRE tunnels
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
Related news
- Critical RCE bug in VMware vCenter Server now exploited in attacks (source)
- New NachoVPN attack uses rogue VPN servers to install malicious updates (source)
- Russian hackers hijack Pakistani hackers' servers for their own attacks (source)
- Russian hackers hijack Pakistani hackers' servers for their own attacks (source)
- Europol Dismantles 27 DDoS Attack Platforms Across 15 Nations; Admins Arrested (source)