network-pre.target is a target that may be used to order services before any network interface is configured. It's primary purpose is for usage with firewall services that want to establish a firewall before any network interface is up. It's a passive unit: you cannot start it directly and it is not pulled in by the the network management service, but by the service that wants to run before it.
Você deseja usar network-pre.target
se quiser configurar algo antes do início da rede
Services that want to be run before the network is configured should place Before=network-pre.target and also set Wants=network-pre.target to pull it in.
Você deve colocá-los abaixo da seção [Unit]
:
Before=network-pre.target
Wants=network-pre.target