Open terminl and type this command
# Changing username, password, proxyname, and port to be yours. export http_proxy="http://username:password@proxyname:port" # After that you can test to run behind your proxy server # , simply as following. wget http://www.google.com # If the connection is successful, then you will get the # file from this Google page.
To remove the proxy server from your network run the following command:
# Just delete a proxy sever variable using unsetunset http_proxy # Or set http_proxy to blank export http_proxy=""
The example above is how bind a proxy server in HTTP protocol.
For the other protocols, e.g. FTP, ... so on. Try to find its variable for binding with a proxy server.
Another protocol that I know is FTP.
FTP => ftp_proxy
If you want to remove it, do the same as the example above.
Good luck ^^.
No comments:
Post a Comment