Commit 0eb2d6e
committed
release: v1.6.0
PiTun can be the router. On a box with two or more physical ports it takes
the ISP uplink, hands out addresses, does NAT, and can serve the WiFi
itself. Gateway mode is untouched and stays the default — nothing changes
for an existing install unless the mode is switched on deliberately.
Three betas of hardware testing went into this, and the box earned every one
of them. The reboot alone found three faults no amount of reading would
have: a reconcile that asked for hardware before the firmware had finished
loading, gave up without cleaning up, and never tried again. Publishing the
panel on the uplink opened SSH and not the panel, because one is a host
service and the other a container reached through a chain whose policy is
drop. The LAN address ended up on both the bridge and its member. A PPPoE
uplink would have hung on every large transfer for want of an MSS clamp,
found by building a concentrator out of a veth pair because the protocol
cannot be tested remotely.
Also here: the connection-lifetime policy for xray, which nothing set
before, and the discovery that install.sh had been producing boxes with no
panel at all since v1.5.2 — an unconditional `listen 443 ssl` against a
certificate nobody generated.
Verified on hardware: reboot restores router mode unattended, a client on
the LAN resolves, pings and pulls a megabyte through NAT, wired and wireless
share one segment, and the update path preserves the database and brings the
router back by itself.1 parent 94a013b commit 0eb2d6e
3 files changed
Lines changed: 78 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
7 | 83 | | |
8 | 84 | | |
9 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments