master
outpost
This service is used in conjunction with the DNS infra at my home. For all blocked domains, the DNS server responds with the address of this service.
This service keeps a map of hosts and redirects users to better alternatives
Build
cargo b --release
Running with systemd
User=root is fine because I run this in unprivileged containers. Consider creating
a user and run it as that user if you have a different setup
[Unit]
Description=Outpost
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/root/outpost
WorkingDirectory=/root
Restart=always
RestartSec=5
User=root
[Install]
WantedBy=multi-user.target
Description
Languages
Rust
100%