|
From: Przemysław K. <prz...@gm...> - 2011-07-29 20:03:39
|
Hello! I'm trying to get proxytunnel working on my configuration based on article: http://www.saulchristie.com/how-to/bypass-firewalls localhost proxy (squid: 3128) -> remotehost:80 -> remotessh:443 (also tried port 22) $ proxytunnel -v -p 127.0.0.1:3128 -r remotehost:80 -R user:pass -d remotessh:443 Connected to 127.0.0.1:3128 (local proxy) Tunneling to remotehost:80 (remote proxy) Communication with local proxy: -> CONNECT remotehost:80 HTTP/1.0 -> Proxy-Connection: Keep-Alive <- HTTP/1.0 403 Forbidden HTTP return code: 403 Forbidden <- Server: squid/2.7.STABLE9 <- Date: Fri, 29 Jul 2011 19:52:30 GMT <- Content-Type: text/html <- Content-Length: 1162 <- X-Squid-Error: ERR_ACCESS_DENIED 0 <- X-Cache: MISS from notebook <- X-Cache-Lookup: NONE from notebook:3128 <- Via: 1.0 notebook:3128 (squid/2.7.STABLE9) <- Connection: close I've checked squid logs and I found: 1311968525.813 0 127.0.0.1 TCP_DENIED/403 1468 CONNECT remotehost:80 - NONE/- text/html My localhost squid is standard configuration which include: http_access deny CONNECT !SSL_ports acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https So based on that configuration CONNECT on port 80 should be permitted. If i disable this acl rule - everything works fine, but unfortunately it's not an option. Is there any way to make proxytunnel work on such configuration or am I missing something? -- Greetings DimmuR |