You are not logged in.
I read this article and would like to use a friend's debian box as a www proxy. I ssh'ed into it using the following command from my Arch box:
$ ssh user@ip -D 8000
As I understand it, his box is now acting as a SOCKS-type (pseudo)server. I configured firefox to use 'localhost' and port '8000' as a proxy but can't connect to any websites. I tried switching between SOCKS4 and SOCKS5 but with no effect. Is there a setting somewhere on my Arch box that would disallow this behavior (something in /etc/hosts.deny or the like)?
I know this works, because I did it before I started using Arch back when I had Ubuntu installed.
Thanks in advance!
Last edited by graysky (2009-07-30 21:06:04)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Well, you probably should also specify the ip address for the -D option.
ssh user@ip -D 127.0.0.1:8000
I hope this helps.
In love I believe and in Linux I trust
Offline
Thanks for the quick reply. I got it working:
$ ssh -D 8000 user@host
Now, in firefox, only add 127.0.0.1 to your SOCKS proxy line (and the correct port number). Now check the SOCKS4 radio box and clear the IP addy from the other proxy boxes. This works for me now, although I get the following error in the ssh window (but it still functions):
channel 4: open failed: administratively prohibited: open failed
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline