Linux applications behind proxy

There are tons of applications in linux which does not have proxy support and using them behind proxy is not an easy task. I have been in search for Proxifer alternative for linux, but couldn’t find it. I tried some softwares for it but they didn’t perform as required.

I was trying to checkout the source code of koffice (for gsoc purposes) and found the library which made it possible. The library is transconnect which is hosted on sourceforge.net.  The steps to use this library are:

  1. Download the latest source code from the sf.net website. (You need to manually build as binaries are not distributed).
  2. Build the binaries by using make and install the lib. using make install.
  3. Edit the ~/.tconn/tconn.conf file to include the proxy host,port, username and password to be used.
  4. If you need all the traffice to be routed through the proxy server, type export LD_PRELOAD=~/.tconn/tconn.conf in the terminal and start the application by the terminal.

If you don’t want to use the proxy server you may type unset LD_PRELOAD and now all the traffic will be sent as per the application.

One point which is to be noted is that you need to set LD_PRELOAD manually for every terminal you use or you may include this command in the .bashrc file.

Also if you need the proxy support in some graphically application, you need to start the application from the terminal only.

Transparent network over HTTP (transconnect) is a great application and more information can be seen in the sf.net page of Transconnect. Transconnect is licenced under GPL licence.

Advertisements

~ by atulaggarwal on April 26, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: