You will need to configure your DDoS-filtered IP manually after your order is processed. The IP, gateway, and netmask have been provided to you via email. Please use the configuration examples below as needed:
Example Netplan Configuration (Ubuntu/Debian)
- Log into your server.
- Get root:
sudo -i - Create a new configuration file:
nano /etc/netplan/60-filtered-ip.yaml - Add the following, replacing it with your IP and interface information:
network:
version: 2
ethernets:
<adapter name>:
addresses:
- <your filtered IP>/<netmask>
gateway4: <filtered IP gateway>
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Adapter typically starts with eth or ens. You can find it withip addr showorifconfig. - Apply your changes:
netplan apply(netplan tryto verify first)
You can confirm the IP was added properly with ip addr show
Example Interfaces Configuration (Debian)
- Log into your server.
- Create a new cloud-init configuration file
/etc/cloud/cloud.cfg.d/95-debian-network-config.cfgwith contentsnetwork: {config: disabled}. - Edit
/etc/network/interfaces.d/50-cloud-init.cfgand comment all lines related to eth0 (or any interface you want to statically configure). - Edit
/etc/network/interfaces. Replaceiface eth0 inet dhcpwith:iface eth0 inet staticaddress <your IPv4 address>/24gateway <your IPv4 gateway>
You can add IPv6 the same way:iface eth0 inet6 staticaddress <your IPv6 address>/64gateway <your IPv6 gateway> - Save and close the file. Then run
ifdown eth0;ifup eth0or reboot.
