initial commit

This commit is contained in:
Lostecho
2024-09-02 11:53:36 +08:00
commit cbac0ab8dd
565 changed files with 17862 additions and 0 deletions

17
journals/2024_07_12.md Normal file
View File

@@ -0,0 +1,17 @@
- tailscale
- edit /etc/pve/lxc/112.conf
- ```bash
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
```
- ```bash
apk add tailscale
rc-update add tailscale boot
service tailscale start
tailscale up
echo 'net.ipv4.ip_forward = 1' | tee -a /etc/sysctl.d/99-tailscale.conf
echo 'net.ipv6.conf.all.forwarding = 1' | tee -a /etc/sysctl.d/99-tailscale.conf
sysctl -p /etc/sysctl.d/99-tailscale.conf
tailscale up --advertise-routes=192.168.0.0/24,192.168.1.0/24
```
- [[电子奶瓶]]