diff options
Diffstat (limited to 'roles/space_server/files')
-rw-r--r-- | roles/space_server/files/blackhole.service | 11 | ||||
-rwxr-xr-x | roles/space_server/files/blackhole.sh | 6 | ||||
-rw-r--r-- | roles/space_server/files/network/10-lo.network | 8 |
3 files changed, 8 insertions, 17 deletions
diff --git a/roles/space_server/files/blackhole.service b/roles/space_server/files/blackhole.service deleted file mode 100644 index e32f642..0000000 --- a/roles/space_server/files/blackhole.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Blackhole routes -Wants=network.target - -[Service] -Type=oneshot -ExecStart=/etc/systemd/scripts/blackhole.sh -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/roles/space_server/files/blackhole.sh b/roles/space_server/files/blackhole.sh deleted file mode 100755 index 56a6c10..0000000 --- a/roles/space_server/files/blackhole.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -set -e - -ip route add unreachable 185.38.175.0/24 -ip route add unreachable 2a01:4262:1ab::/48 diff --git a/roles/space_server/files/network/10-lo.network b/roles/space_server/files/network/10-lo.network index 2321ce5..9b89210 100644 --- a/roles/space_server/files/network/10-lo.network +++ b/roles/space_server/files/network/10-lo.network @@ -4,3 +4,11 @@ Name=lo [Network] Address=185.38.175.0/32 Address=2a01:4262:1ab::/128 + +[Route] +Type=unreachable +Destination=185.38.175.0/24 + +[Route] +Type=unreachable +Destination=2a01:4262:1ab::/48 |