How to establish ssh from remote firewalled PC to local machine, enabling local browsing on remote LAN
by nedlud from LinuxQuestions.org on (#6MDF8)
Apologies if the terminology is incorrect, suggestions for better thread title welcome.
I administer (a grand word for my amateur efforts) a server (oakdrum) on a friend's (christine) LAN, which is used to backup her laptop (x1-laptop), and for syncthing, DLNA server, samba etc.
She lives 500 miles from me. After initial setup at her house with physical access, I setup port forwarding on her router so that I could ssh into (oakdrum), and (x1-laptop) for remote assistance via vnc. Having done so, I could also access the web GUI (no telnet or ssh available) of her router from my machine (lutyens) with:
Code:nedlud@lutyens:~ssh -v -D 24080 -f -C -q -N oakdrum... and configuring a manual proxy in my browser:
Code:Manual proxy configuration:
SOCKS Proxy 127.0.0.1 Port 24080
check the box for "SOCKS v5"... then access her router GUI at 192.168.1.1 on my local machine (lutyens)
This week after a fault her ISP sent her a new router. She's tech-phobic, but swapped it out plug for plug with the broken one. She has WAN access with the default config of course, but (oakdrum) has a different IP so her backup doesn't work, and now I can't get to her LAN.
The limit of her capability is copy pasting a string in the terminal.
assume:
I will temporarily forward port 33022 on my firewall to port 22 on my machine, and enable password only ssh login.
My username on my machine (lutyens) is nedlud.
My dynamic dns is nedlud.dyndns.net
I'm after the cli string that she can use on her laptop (x1-laptop) to ssh to my machine (lutyens), and anything I need to run on (lutyens), such that I can browse to her router config page, and re-establish port forwarding.
MTIA.
I administer (a grand word for my amateur efforts) a server (oakdrum) on a friend's (christine) LAN, which is used to backup her laptop (x1-laptop), and for syncthing, DLNA server, samba etc.
She lives 500 miles from me. After initial setup at her house with physical access, I setup port forwarding on her router so that I could ssh into (oakdrum), and (x1-laptop) for remote assistance via vnc. Having done so, I could also access the web GUI (no telnet or ssh available) of her router from my machine (lutyens) with:
Code:nedlud@lutyens:~ssh -v -D 24080 -f -C -q -N oakdrum... and configuring a manual proxy in my browser:
Code:Manual proxy configuration:
SOCKS Proxy 127.0.0.1 Port 24080
check the box for "SOCKS v5"... then access her router GUI at 192.168.1.1 on my local machine (lutyens)
This week after a fault her ISP sent her a new router. She's tech-phobic, but swapped it out plug for plug with the broken one. She has WAN access with the default config of course, but (oakdrum) has a different IP so her backup doesn't work, and now I can't get to her LAN.
The limit of her capability is copy pasting a string in the terminal.
assume:
I will temporarily forward port 33022 on my firewall to port 22 on my machine, and enable password only ssh login.
My username on my machine (lutyens) is nedlud.
My dynamic dns is nedlud.dyndns.net
I'm after the cli string that she can use on her laptop (x1-laptop) to ssh to my machine (lutyens), and anything I need to run on (lutyens), such that I can browse to her router config page, and re-establish port forwarding.
MTIA.