Allowing SSH Through tinyproxy
Recently, I sat-up an OpenVPN Linux server, so that I can get into my internal network from anywhere. In addition to the OpenVPN, I ran tinyproxy--a light-weight HTTP proxy daemon--on this server to provide the routing between the internal and external network. However, when I attempted to access another one of my internal Linux server through SSH, I got the following error message:
Proxy could not open connnection to [SERVER]: Access violation
After tinkering around with tinyproxy for a bit, I found out that tinyproxy, by default, disallowed most ports from using the CONNECT method. The only two ports it allows in the tinyproxy.conf file is the following:
So you can add port 22 to that list for SSH. And you can add additional forwarding ports. However, if adding individual ports is a mess and you aren't concerned with security, you can comment out all of the "ConnectPort" settings. When you do, all ports are allowed by default.
Thanks, I was trying to switch from using squid as an http proxy and this was tripping me up.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
47 Users Online
Copyright © 2004 - 2018. All Rights Reserved.