Getting a program that can't be configured for a proxy to use a proxy

Posted on 2006-04-05
Medium Priority
Last Modified: 2010-03-19
I have an ssh tunnel to another computer that can be used as an http server etc.

I cannot configure a program to access a local port on the machine in the way you can configure say explorer for It will still try to connect to [dchp network ip]:port x [target machine]:port y

The only thing I can think of is to set my machine up as a server and get the program to connect from another machine as a client.

Will this work? Does anyone have other suggestions? The network I am on is very restrictive so I have to use ssh, yet I need to connect a debugging tool across this network that accesses port 440, and no it can't be changed to use a proxy.
Question by:jez123
  • 2
LVL 18

Expert Comment

ID: 16381112
usually you use the SSH to accomodate the port issue by allowing it to pickup traffic on the port the application wants to use, and then translating it to the proxy port number, at least thats what I've done while playing with VNC via SSH

Author Comment

ID: 16381156
Thanks for the response

VNC can be configured to use the localhost as a server, i.e. you can set the server it wants to connect to to whereby it will connect to the proxy port.

The legacy application I have cannot be configured in this way, instead it will try to connect to [dhcp ip address]:port x

Accepted Solution

jez123 earned 0 total points
ID: 16384610
Ok I figured this out, either freecap or sockscap will do it.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question