🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Lawrence D’Oliveiro Tue, 03 Nov 2026 01:02
A Tale Of Two Routers
#166
Author: Lawrence D’Oliveiro
Date: Tue, 03 Nov 2026 01:02
34 lines
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 ...
Re: A Tale Of Two Routers
#167
Author: Lawrence D’Oliveiro
Date: Tue, 03 Nov 2026 02:36
27 lines
2231 bytes
On Tue, 3 Nov 2026 01:02:53 -0000 (UTC), I wrote:

> 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.
>
> ...
>
> 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.
>
> ...
>
> Now a different problem emerges: the router refuses connections,
> instead showing an error page indicating it has detected a “DNS
> rebinding attack”.

I found a combination which works: SSH tunnelling to the existing
router, combined with appropriate temporary routing-table entries to
allow access to the new one directly via its configured IP address.
No need for socat at any point.

The result was, I was able to have both admin pages open
simultaneously in separate browser tabs, with no premature session
timeouts going on.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads