Jump to content

Okay, so this is a weird question, and if I'm being stupid, please tell me.
 

I have a second house which has its own internet connection, but its almost 700 miles away. On the network, I have a Raspberry Pi 3B connected via wifi and I have Remot3.it installed, which gives me a remote shell and access on any port I want.  The issue is that I want to remotely access the router and change some settings, so I literally just want to access its webgui for a moment and then set up a remote port to access it directly in the future.  I could install the Pixel desktop and then VNC into it to open firefox, but the connection is slow and I was hoping to skip all that hassle.

 

Do any of you perhaps have an idea for me?

Link to comment
https://linustechtips.com/topic/905583-remote-access-to-network/
Share on other sites

Link to post
Share on other sites

7 minutes ago, Electronics Wizardy said:

Best way is a vpn.

Yeah, the best way I can think of to do it would be to use OpenVPN in Bridging mode, it would allow you to connect to the VPN, and have access to the network as if you was connected normally.


Is quite a bit of hassle to setup though.

Link to post
Share on other sites

Does your router have a WAN GUI configuration option?

Main System: Phobos

AMD Ryzen 7 2700 (8C/16T), ASRock B450 Steel Legend, 16GB G.SKILL Aegis DDR4 3000MHz, AMD Radeon RX 570 4GB (XFX), 960GB Crucial M500, 2TB Seagate BarraCuda, Windows 10 Pro for Workstations/macOS Catalina

 

Secondary System: York

Intel Core i7-2600 (4C/8T), ASUS P8Z68-V/GEN3, 16GB GEIL Enhance Corsa DDR3 1600MHz, Zotac GeForce GTX 550 Ti 1GB, 240GB ADATA Ultimate SU650, Windows 10 Pro for Workstations

 

Older File Server: Yet to be named

Intel Pentium 4 HT (1C/2T), Intel D865GBF, 3GB DDR 400MHz, ATI Radeon HD 4650 1GB (HIS), 80GB WD Caviar, 320GB Hitachi Deskstar, Windows XP Pro SP3, Windows Server 2003 R2

Link to post
Share on other sites

If you have SSH access to the RPI and the RPI is able to see the router WebUI, you can open a SSH connection with local port forwarding with just a command.

 

Then, from your real computer, accesing localhost and the port you just forwarded, you should see the router WebUI as if you were in your RPI.

 

It can be a bit confusing, so I'll provide an example:

 

- Your router WebUI is accesible through 10.0.0.1 and port 8443 on your RPI's local network.

- Your WAN IP is 123.123.123.123. SSH to 123.123.123.123:22 let you access your RPI.

- You want to forward your 10000 local port.

 

Then you do:

ssh -L 10000:10.0.0.1:8443 user@123.123.123.123

Then you point your browser to localhost:10000 (remember to use HTTPS or HTTP according of the WebUI configuration) and done.

 

 

Link to post
Share on other sites

On 3/13/2018 at 4:22 PM, NoseyTable said:

Okay, so this is a weird question, and if I'm being stupid, please tell me.
 

I have a second house which has its own internet connection, but its almost 700 miles away. On the network, I have a Raspberry Pi 3B connected via wifi and I have Remot3.it installed, which gives me a remote shell and access on any port I want.  The issue is that I want to remotely access the router and change some settings, so I literally just want to access its webgui for a moment and then set up a remote port to access it directly in the future.  I could install the Pixel desktop and then VNC into it to open firefox, but the connection is slow and I was hoping to skip all that hassle.

 

Do any of you perhaps have an idea for me?

i use ssh Socks, here is a tutorial of how to do that

https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel

it basically is a tunnel via ssh that you can use with some apps, Firefox works with it so you can use it to access the web like if you were on the raspberry pi

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×