Skip to content

Commit eb183aa

Browse files
committed
openwrt
1 parent 86dc50b commit eb183aa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

doc/openwrt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
- set password
2+
- todo: use passwordless root with ssh key (please don't hack me uwu)
3+
- todo: only use password for http interface
4+
- ```
5+
# ssh in from a machine with tailscale web login
6+
# (do not change ssh interface to tailscale,)
7+
# (advertise lan through tailscale as a route,)
8+
# (don't want to lockout rest of lan from ssh,)
9+
# (at least for now.)
10+
opkg install tailscale
11+
# these packages aren't enough but pretend they do something,
12+
# ipv6 etc dont work and you need to manually add fw rules anyways
13+
opkg install iptables-nft kmod-ipt-conntrack kmod-ipt-conntrack-extra kmod-ipt-conntrack-label kmod-nft-nat
14+
tailscale up
15+
# open link
16+
tailscale status
17+
# add tailscale interface https://openwrt.org/docs/guide-user/services/vpn/tailscale/start
18+
# add tailscale firewall zone https://openwrt.org/docs/guide-user/services/vpn/tailscale/start
19+
ip address show tailscale0
20+
tailscale up --advertise-routes=10.10.0.0/16 --accept-routes --advertise-exit-node
21+
# from the tailscale web interface, approve the route, approve the exit node, disable key expiry
22+
```

0 commit comments

Comments
 (0)