Hello,
I need to protect my WHM Cpanel VPS against DDoS using nearby DDoS protected VPS. Anyone can guide me step by step how to achive that ?
I have tried this but failed:
On protected VPS:
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
sysctl -p
iptunnel add gre1 mode gre local YOUR_FILTERED_IP remote DESTINATION_SERVER_IP ttl 255
ip addr add 192.168.168.1/30 dev gre1
ip link set gre1 up
On the remote server I wish to protect:
iptunnel add gre1 mode gre local DESTINATION_SERVER_IP remote YOUR_FILTERED_IP ttl 255
ip addr add 192.168.168.2/30 dev gre1
ip link set gre1 up
Thank you..
I need to protect my WHM Cpanel VPS against DDoS using nearby DDoS protected VPS. Anyone can guide me step by step how to achive that ?
I have tried this but failed:
On protected VPS:
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
sysctl -p
iptunnel add gre1 mode gre local YOUR_FILTERED_IP remote DESTINATION_SERVER_IP ttl 255
ip addr add 192.168.168.1/30 dev gre1
ip link set gre1 up
On the remote server I wish to protect:
iptunnel add gre1 mode gre local DESTINATION_SERVER_IP remote YOUR_FILTERED_IP ttl 255
ip addr add 192.168.168.2/30 dev gre1
ip link set gre1 up
Thank you..