![]() ![]() The connection to Linux-VPS:2210 will be forwarded to your PI, so connections to the SOCKS port will be forwarded to the PI.Ī regular forwarding to a SOCKS forwarding, as you described, should also work, but is more complicated. The simple solution is to use Putty to connect to Linux-VPS at port 2210 while creating a SOCKS tunnel in Putty. You can use a regular port forwarding to another regular port forwarding, but you can't use a SOCKS forwarding to another SOCKS forwarding. You don't want the SOCKS proxy on the Linux VPS, you want it on the Windows machine. What am I missing to allow me to socks proxy from my local workstation to the VPS and chain it to and through the RPi? Setting the socks proxy locally to 127.0.0.1 port 50000 doesn't give the browser access to the outside world. I have tried many combinations of SSH tunnel configs in Putty (port forwarding, dynamic ports), but the best I can do is get a socks proxy connection that goes out to the Net from the Linux VPS (the mid-point).įrom the VPS, I've tried: ssh -p 2210 -D 8888 then from Putty on my workstations I set up the connection to the VPS with a tunnel like this: L50000 127.0.0.1:8888 What I cannot figure out is how to configure the SSH command from the VPS and also Putty on my workstation to make this connection and pass the socks connection through the RPI so I can browse. This connects me from my windows workstation through the VPS to the RPI and I'm able to get an SSH connection to the RPi, but the socks proxy isn't working. I have keys set up on the RPI and the VPS so they can log into each other without a password. RPi at home -> Linux VPS <- me, on windows boxįrom the RPI, I issue the command: ssh -f -N -T -R 2210:localhost:22 appears to set up the reverse tunnel on the VPS (I can see it listening on port 2210 on the VPS): tcp 0 0 0.0.0.0:2210 0.0.0.0:* LISTENįrom my local windows workstation, I can use Putty to ssh into the Linux VPS and issue: ssh -p 2210 ssh -l RPi-account -p 2210 localhost I am close to making it work, but after hours and hours of searching and trying, I can't quite put it all together. I know this question has been asked multiple times, but I just can't seem to figure out what I'm doing wrong or missing. In other words, I want to navigate the web and have it appear that it's happening from my home network regardless of where I'm connecting from. ![]() ![]() I want to set up a Raspberry Pi on my home network that I can use as a socks proxy from work or other location (parents' house). ![]()
0 Comments
Leave a Reply. |