Proxy chain help

Asked by Ian Purugganan

Hi, im just new in using ubuntu 9.04 and my internet connection was running through proxy connection using system's network proxy setting.

My problem is that I cant connect through internet with some of my applications/game like "Ran Online" Im runnung it in my old OS(windows XP) through "proxy cap and proxifier" and in here I in linux they do have "Proxy Chains" but i couldn't seem to know how it works because it is running through terminal. i already managed to install it by using terminal also by downloading the tar.gz file.

Can Someone help me how to set it up or to do it like a step-bystep instruction on setting my RaN Online to run through Proxy by using Proxy chain.

Thanks and I do really enjoy this Operating System.

-ian purugganan

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ian Purugganan
Solved:
Last query:
Last reply:
Revision history for this message
midnightflash (midnightflash) said :
#1

Get the following into
    /etc/profile

  export http_proxy=http://userassword@hostnameort
  export https_proxy=http://userassword@hostnameort
  export ftp_proxy=http://userassword@hostnameort
  export HTTP_PROXY=$http_proxy
  export HTTPS_PROXY=$https_proxy
  export FTP_PROXY=$ftp_proxy

You can use the command

   nano -w /etc/profile

from the terminal. ([F2] then "gnome-terminal")

Revision history for this message
Ian Purugganan (milandro-purugganan) said :
#2

hi midnightflash, thanks! i tried following your steps but still couldnt get to setup proxy chain but i did find this site http://proxychains.sourceforge.net/howto.html but i cant understand. can you please dude help me try to understand these things.. thanks bro!=) i just want to run my applications that do not support proxy connection to run through proxy.

Revision history for this message
midnightflash (midnightflash) said :
#3

I hope you did not append my suggestion exactly! My fault as I see...

     export http_proxy=http://user:password@hostname:port

would be right...

And of course you have to replace "user" with you proxy-user-name and after the colon replace "password" with the password your provider gave you. (both only if needed though.)

Also replace "hostname" with the proxy-server-name (f.e. proxy.example.com) and again after the colon the Port.

     export http_proxy=http://ian:<email address hidden>:8080

or without the need for user and passwd:

     export http_proxy=http://proxy.example.com:8080

Would be a fitting example for the first three lines.
The last three lines should be kept like in the above post.

Revision history for this message
Ian Purugganan (milandro-purugganan) said :
#4

whoa! thanks bro! thhis solved my probs!