router A, which is connected to the internet, that is the router whose web interface you are trying to access?

you can enable ssh server on the router.

on windows, you can run ssh client.
putty, not user friendly
i use bitvise client, nice gui, free.

1 Like