I can't seem to get proxytunnel to work on my apache vhost. My host has an SSH 
daemon running on port 2234.
VHOST CONFIG<VirtualHost *:443>  ServerName connect.website.com
  SSLEngine On  SSLCertificateFile /etc/ssl/cert.pem  SSLCertificateKeyFile 
/etc/ssl/privkey.pem  SSLCertificateChainFile /etc/ssl/fullchain.pem
  #HostnameLookups on  ProxyRequests On  ProxyVia on
  AllowCONNECT 2234 #SSH ON 2234
#  <Proxy *>#    Order deny,allow#    Deny from all#  </Proxy>#  <Proxy>#    Order deny,allow#    Allow from all#  </Proxy>
  DocumentRoot /var/www/connect</VirtualHost>

SSH CONFIGHost hazcod  ServerAliveInterval 30  ProxyCommand proxytunnel -v -X 
-p proxy.company.com:3128 -P 'companyuser:companypass' -r 
connect.website.com:443 -d -H "User-Agent: Mozilla/4.0 
(compatible; MSIE 6.0; Win32)"

LOGhazcod@django:~$ ssh hazcodSSL local to remote proxy enabledLocal proxy 
proxy.company.com resolves to 2.xxx.xxx.xxxConnected to proxy.companycom:3128 
(local proxy)
Tunneling to connect.website.com:443 (remote proxy)Communication with local 
proxy: -> CONNECT connect.website.com:443 HTTP/1.0 -> Proxy-Authorization: 
Basic xxxxx= -> Proxy-Connection: Keep-Alive -> User-Agent: Mozilla/4.0 
(compatible; MSIE 6.0; Win32) <- HTTP/1.1 200 Connection established
Tunneling to (destination)Communication with remote proxy: -> 
CONNECT HTTP/1.0 -> Proxy-Connection: Keep-Alive -> User-Agent: 
Mozilla/4.0 (compatible; MSIE 6.0; Win32)error: Socket write error.

Any ideas? Thanks.Regards

Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
Proxytunnel-users mailing list

Reply via email to