2024-07-17 17:11:13 +00:00
|
|
|
1. First, checkout the repository:
|
2024-07-17 17:06:56 +00:00
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
git clone https://git.funil.de/sinuspl/bgpblist /opt/bgpblist
|
2024-07-17 17:11:13 +00:00
|
|
|
|
|
|
|
2. Run it once, it will create config:
|
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
/opt/bgpblist/sbin/bgpblacklistd
|
2024-07-17 17:11:13 +00:00
|
|
|
|
|
|
|
3. Edit the config.ini, if you have are a customer:
|
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
vim /opt/bgpblist/etc/config.ini
|
2024-07-17 17:11:13 +00:00
|
|
|
|
|
|
|
4. Copy the systemd unit file:
|
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
cp /opt/bgpblist/etc/systemd/bgpblacklist.service /etc/systemd/system/bgpblacklist.service
|
2024-07-17 17:11:13 +00:00
|
|
|
|
|
|
|
5. Reload the systemd:
|
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
systemctl daemon-reload
|
2024-07-17 17:11:13 +00:00
|
|
|
|
|
|
|
6. Enable the unit:
|
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
systemctl enable bgpblacklist.service
|
2024-07-17 17:11:13 +00:00
|
|
|
|
|
|
|
7. Start the daemon:
|
|
|
|
|
2024-07-17 17:12:19 +00:00
|
|
|
systemctl start bgpblacklist.service
|