Open
Description
phase 1
-
directory home (not sure gimana caranya)
-
cron (root)
-
* * * * * /home/komunix/cachex/gen.sh
--> klo bisa dibuat via syntax nix better -
* * * * * /home/komunix/npmx/gen.sh
--> klo bisa dibuat via syntax nix better
-
-
verifikasi: saat cek crontab (e.g via
cat /etc/crontab
) disitu terlihat bahwa file tersebut di manage oleh nix
phase 2
- systemd services (/etc/systemd/system/)
- caddy-cachex.service
- caddy-isp.service
- caddy-komunix.service
- caddy-npmx.service
- traefik.service
- ufw (uncomplicated firewall, sudo ufw status): (btw ini harusnya temporary since sekarang raspi udah ga carry traffic ke/dari wan lagi)
To Action From
-- ------ ----
22 ALLOW 100.64.0.0/10
41641 ALLOW Anywhere
80/tcp ALLOW Anywhere
22/tcp ALLOW 192.168.18.0/24
67/udp ALLOW Anywhere
68/udp ALLOW Anywhere
22/tcp ALLOW 192.168.31.0/24
41641 (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
67/udp (v6) ALLOW Anywhere (v6)
68/udp (v6) ALLOW Anywhere (v6)
- verifikasi: saat cek
/etc/systemd/system/*.service
, disitu terlihat bahwa beberapa file tersebut di manage/generate oleh nix, not sure klo bagian ufw
phase 3
TBD