Article View: comp.misc
Article #166A Tale Of Two Routers
From: Lawrence D’Oliveiro
Date: Tue, 03 Nov 2026 01:02
Date: Tue, 03 Nov 2026 01:02
34 lines
2940 bytes
2940 bytes
Here’s a fun scenario to think about. I’m setting up a replacement home router for a client. The existing one is installed on their LAN, which I can get to remotely via OpenVPN; the new one is in my living-room, connected to my laptop via a dedicated Ethernet cable, on a different subnet from my house LAN (which the laptop remains connected to). From my main office machine, I can access either one via an SSH tunnel; one to a machine at the client’s place, the other to my laptop. So I point my browser at “http://127.0.0.1:«suitable-port-nr»” to login and access the admin functions. But when I try running tunnels to both at once (using different local ports, of course), a peculiar thing happens: the login sessions tend to expire within a few seconds, forcing me to keep logging in again all the time. I get the feeling each router is seeing some of the other’s traffic (automatically-generated session ticklers, perhaps?) and getting confused by it. Or maybe the ticklers aren’t getting through at all, because they are omitting the port number ... So I tried another approach, involving setting up routing entries to get to the respective local subnets, with a little help from socat to get across the last hop to the client’s installed router. This way, each router sees itself being accessed via a different address. Now a different problem emerges: the router refuses connections, instead showing an error page indicating it has detected a “DNS rebinding attack”. I suspect this is because I am using one private address range to access it, while it is configured to work in a different private address range; if it saw itself accessed via a public address, it probably wouldn’t worry. Oh well. I think there one or two more combinations I can try ...
Technical Details
Message-ID:
<11cbbrt$3bvd6$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.misc Subject: A Tale Of Two Routers Date: Tue, 3 Nov 2026 01:02:53 -0000 (UTC) Organization: A noiseless patient Spider Lines: 34 Message-ID: <11cbbrt$3bvd6$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 03 Nov 2026 01:02:54 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3538342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Bv+MXZmmmwZ70zg/PFyLH"; posting-host="b34ec214a2e04ef24d601d56ab9ea5cc" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:Y9LYateyFSKnC/X9G+VfG7NBvLQ= sha256:lOr+a43fNM7refj+q4HRhu3xEYwu4hfUJt+L7w2s/58= sha1:Ia/7qR88dIRkavYFTBH4MW0xIqc= sha256:V5TWuFXPkjBzCBA3P2Pk4PjblfAALFY0SA1ePryhoJ4=