Каким образом настроить туннелирование http трафика имея ssh доступ на сервере обычного shared хостинга без прав root?
Делаю следующее:
$ ssh -v user@host -L localhost:5002:78.xx.xxx.91:53
здесь 78.xx.xxx.91:53 - бесплатный хттп прокси, который не поддерживает connect. Коннект ssh и проброс портов происходит нормально. Далее, в браузере прописываю прокси сервер 127.0.0.1:5002 - и никакие веб страницы не грузятся. В ssh консоли пишется примерно так:
debug1: Connection to port 5002 forwarding to 78.xx.xxx.91 port 53 requested.
debug1: channel 6: new [direct-tcpip]
channel 3: open failed: connect failed: Connection timed out
debug1: channel 3: free: direct-tcpip: listening port 5002 for 78.xx.xxx.91 port 53, connect from 127.0.0.1 port 40455, nchannels 7
channel 4: open failed: connect failed: Connection timed out
debug1: channel 4: free: direct-tcpip: listening port 5002 for 78.xx.xxx.91 port 53, connect from 127.0.0.1 port 40461, nchannels 6
channel 5: open failed: connect failed: Connection timed out
debug1: channel 5: free: direct-tcpip: listening port 5002 for 78.xx.xxx.91 port 53, connect from 127.0.0.1 port 40462, nchannels 5
channel 6: open failed: connect failed: Connection timed out
debug1: channel 6: free: direct-tcpip: listening port 5002 for 78.xx.xxx.91 port 53, connect from 127.0.0.1 port 40464, nchannels 4
Как решить эту проблему?