Answer the question
In order to leave comments, you need to log in
Problem with dynamic forwarding in OpenSSH?
UPD: the problem was solved: it was necessary to enter the SOCKS node in the proxy settings in the firefox settings .
An interesting question remains: how can you determine the presence of such a problem through the analysis of logs or something else (traffic, etc.)?
The initial problem was this:
I'm trying to set up dynamic forwarding. HTTPS traffic is wrapped in a tunnel, while HTTP is not. And I can't figure out what the problem is.
On the client:
ssh -C -D 1080 [email protected]
firefox I configure to work with a proxy: 127.0.0.1:1080
On the server:
Ubuntu 11.04
OpenSSH_5.8p1
added to the config ( /etc/ssh/sshd_config ) line:
AllowTcpForwarding yes Restarted the
server (sudo service ssh restart )
after that I normally go to HTTPS sites in firefox, and HTTP - no
plugin for firefox ( Live http ) shows the following response when accessing www.mail.ru :
GET www.mail.ru/
Host: www.mail.ru
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.10 (maverick) Firefox/3.6. 24
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5, en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Cache-Control: max -age=0
HTTP/0.9 200 OK
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question