[logseq-plugin-git:commit] 2025-09-08T09:35:23.573Z
This commit is contained in:
@@ -1,17 +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
|
||||
```
|
||||
- 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
|
||||
```
|
||||
- [[电子奶瓶]]
|
||||
Reference in New Issue
Block a user