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 show
orifconfig
. - Apply your changes:
netplan apply
(netplan try
to 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.cfg
with contentsnetwork: {config: disabled}
. - Edit
/etc/network/interfaces.d/50-cloud-init.cfg
and comment all lines related to eth0 (or any interface you want to statically configure). - Edit
/etc/network/interfaces
. Replaceiface eth0 inet dhcp
with:iface eth0 inet static
address <your IPv4 address>/24
gateway <your IPv4 gateway>
You can add IPv6 the same way:iface eth0 inet6 static
address <your IPv6 address>/64
gateway <your IPv6 gateway>
- Save and close the file. Then run
ifdown eth0;ifup eth0
or reboot.