LinuxQuestions.org
Help answer threads with 0 replies.
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-19-2004, 03:38 AM   #1
simonhuan
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
how to configure proxy client in console?


when i use apps such as apt-get,ftp,telnet in console, how can i configure them to access internet through a proxy server?
 
Old 03-19-2004, 05:15 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
type:
man wget
or
man ftp

read the manuals
 
Old 04-13-2004, 10:10 PM   #3
robothead
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
RE: using a proxy server

I'm trying to figure this one out myself -- and I don't have the man pages for lots of this stuff!!

Anyway, it seems you need to setup proxying of different protocols in different ways (which makes sense, really).

For HTTP proxying, including apt-get, you need to set an environment variable http_proxy to the server address and port of your proxy.

export http_proxy=192.168.0.1:8080

If you have control of the proxy, on the other hand, it might be better to do "Network Address Translation", or NAT. This is called "Internet Connection Sharing" under Windows ... there are plenty of resources on the web concerning this, so I won't go into any kind of detail, except to say that with NAT, all the Internet protocols are usable -- it's as if you've a direct connection to the Internet.

Anyway, try the http_proxy thing.

Oh, and if it's MS Proxy that you're trying to get through, well, that's something else altogether ... you need a method of authentication. I seem to remember a cool python-based "local" proxy server that would then handball through an MS Proxy.

Google and you shall find.
 
  


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
transparent proxy that automaticly configure a client gateway myheart Linux - Networking 2 01-19-2005 07:44 PM
Proxy Client under Solaris heppit Solaris / OpenSolaris 1 05-18-2004 02:49 PM
Suse 9 client through ms proxy Diws Linux - Networking 2 04-29-2004 12:19 AM
Proxy client speerwani Linux - Networking 1 07-09-2002 03:43 PM

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

All times are GMT -5. The time now is 03:26 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