Repository navigation
docs: add home bypass router guide - #15
Merged
Merged
Conversation
- IPv6: explain that the kept IPv6 default route lets IPv6 traffic bypass the
side router, so the setup relies on the side router's DNS returning only
A records; note that stopping RA/DHCPv6 DNS affects every device
- DNS: separate queries sent to the router itself (dnsmasq, which must
forward to sing-box) from queries hijacked through TUN
- Single-arm routing: mention asymmetric return paths for traffic outside
TUN and LAN masquerading
- Update steps: check the candidate config, and skip unchanged rules before
backing up and restarting
- Failure section: unmatched traffic defaults to the proxy, so a VPS outage
affects more than the listed proxy sites
- Add an illustrative trimmed sing-box config; rewrite report-style passages
("本轮只读检查", "之前特别提到") for readers
- Redraw the topology as a real vector SVG: proxy traffic also leaves via the
main router, and labels fit their boxes
- postFilter: simplify to DEV || (!draft && published)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
easonxiang
force-pushed
the
codex/home-bypass-router-article
branch
from
October 23, 2026 16:26
543da95 to
00f18ae
Compare
Checked read-only over SSH on the side router (OpenWrt 25.12.6, sing-box 1.13.21): - Config example now mirrors the real one: DoH upstreams (Cloudflare via proxy, AliDNS direct) with per-rule-set DNS rules, ipv4_only, TUN with strict_route and route_exclude_address (LAN ranges excluded there rather than via a route rule), port-53 hijack before sniff - DNS chain as it actually works: dnsmasq (cache 1000) forwards to 1.1.1.1, and that query is captured by TUN and hijacked into sing-box DNS - Masquerading: not enabled; excluded ranges are LAN/reserved plus the VPS address, so the asymmetric-routing case doesn't arise here - Update script steps follow the script: digest check right after compiling, candidate check, backup, final-config check, restart with pidof check - Upstream rules build daily at 23:00 UTC (07:00 Beijing), not 08:00 - logread is a small ring buffer flooded by sing-box info logs, so weekly update logs are gone within minutes; suggest warn level or a log file - Note that the side router must not send RA/DHCPv6 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
easonxiang
marked this pull request as ready for review
October 23, 2026 16:44
easonxiang
enabled auto-merge (squash)
October 23, 2026 16:44
CI failed downloading the 43 MB tire GIF from the home photo host: each attempt hit the 60 s overall timeout while data was still flowing, so all four retries failed the same way and Astro aborted the build. Downloads now abort only after 30 s without data (capped at 10 min per attempt), and still retry on stalls and mid-body disconnects. Size probes keep the short overall timeout since they read only the header. Tested against a local server: a 70 s steady download now succeeds, a stalled one aborts after 30 s per attempt, and cut-off bodies are retried. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The last run was cancelled at the 10-minute limit while still downloading post images from the home photo host (no errors). The image cache is only saved after a successful run, so cold runs keep repeating the slow download until one finishes; Cloudflare Pages (20-minute limit) built the same commit fine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation