|
|
1 هفته پیش | |
|---|---|---|
| bin | 6 روز پیش | |
| cmd | 6 روز پیش | |
| internal | 6 روز پیش | |
| systemd | 6 روز پیش | |
| Makefile | 6 روز پیش | |
| README.md | 6 روز پیش | |
| go.mod | 6 روز پیش | |
| go.sum | 6 روز پیش | |
| install.sh | 6 روز پیش |
DebTik is a lightweight, open‑source controller for network appliances running on Proxmox. It provides a web UI and CLI to manage BGP, routing, firewall, VPN, DHCP, DNS and other services. All components are designed to run on Debian‑based systems and integrate tightly with the BIRD routing daemon.
debtik-cli) for scripting and automation.bird daemon (installed by package manager)systemd (for service management)git (for source checkout)curl -L -o debtik.tar.gz https://example.com/debtik-latest.tar.gz
mkdir -p /opt/debtik && tar xzf debtik.tar.gz -C /opt/debtik
ln -s /opt/debtik/bin/proxmox-router /usr/local/bin/debtik
git clone https://github.com/yourorg/DebTik.git
cd DebTik
make build
sudo cp bin/* /usr/local/bin/
sudo cp systemd/proxmox-router.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now proxmox-router.service
Configuration files are located in /etc/debtik/.
debtik.yaml – Main configuration (service ports, logging, etc.).bird/ – BIRD routing daemon configuration generated by DebTik.certs/ – Certificate storage. Use the Certificates section in the web UI to generate a CA, self‑signed certificates, or enable Let's Encrypt (requires a public domain and port 80).HTTPS is disabled by default. To enable it:
Edit debtik.yaml:
web:
https_enabled: true
cert_file: /etc/debtik/certs/fullchain.pem
key_file: /etc/debtik/certs/privkey.pem
bash
sudo systemctl restart proxmox-router.service
Open http://<host>:8080 (or https://<host>:8443 when HTTPS is enabled). The dashboard shows system status, routing tables, VPN connections, and logs.
debtik-cli)debtik-cli --help
debtik-cli bgp peer list
debtik-cli route add --dest 10.0.0.0/24 --gw 192.168.1.1
Refer to the built‑in help for each sub‑command.
DebTik exposes a REST API on port 9090 (configurable). Authentication is token‑based.
make test.DebTik is released under the MIT License.