LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2006, 07:18 AM   #1
IRLAMP
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
How can I modify a proxy for the commands


Hello

WE have 5 computers (4 with windows OS and 1 Linux OS) in our company and all are grouped and using shared internet using proxy program (CCPROXY) ,I can browsw the sites using the firefox, but through the Command ,none of the sites are pinged and accessible!

How can I modify a proxy for the command ,too?

Thanks
 
Old 03-27-2006, 11:13 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Either the command has an http_proxy option available and then you provide the good information or it has to be socksified (for getting through a socks proxy)
Some applications like wget and others use the environment variable http_proxy,ftp_proxy and they look at this variable before connecting to the net.
under bash:
Code:
export http_proxy="http://1.1.1.1:80"
export ftp_proxy="http://1.1.1.1:80"
wget http://www.kernel.org
--10:07:49--  http://www.kernel.org/
           => `index.html'
Connection to 1.1.1.1:80...connected.
[...]
10:07:50 (37.87 KB/s) - « index.html » saved [22301]
If its an http_proxy then the ping (different from http:web) will not use the proxy and will hit your router and if routing is disabled they will be blocked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 12:45 AM
How to modify the library path variable?modify the Electronkz Linux - Newbie 1 04-13-2004 06:18 AM
For Squid (proxy server) gurus: FTP from browser with read-write-modify permission Zingaro2002 Linux - Software 5 11-24-2003 04:56 AM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration