LinuxQuestions.org
Review your favorite Linux distribution.
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-29-2005, 03:55 PM   #1
Sigh
LQ Newbie
 
Registered: Feb 2005
Location: Toronto
Distribution: Red Hat
Posts: 9

Rep: Reputation: 0
Set Proxy in Red Enterprise


Here's the situation: I have a program that needs to access a website through a proxy server. The program itself does not have the ability to set a proxy server so I need to do one of the following:

1) Create a setting that channels all traffic to a certain destination website through a proxy server that I set

OR

2) Make sure all HTTP requests go through this proxy server


Since I am a lame-ass Windoze guy struggling to switch to Linux I'm not sure how to go about doing this on Linux. I did find one proxy setting through Preferences -> Network Proxy but that setting is having no effect.

Am I missing something? Just completely lame?

Please help.

Ryan
 
Old 03-29-2005, 05:52 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
have you tried setting http_proxy in you env?

try this:

export http_proxy=http://your_proxy_serverortnumber/

and re-run the program.

also, try and search for "transparent proxy howto". that should give you what you need.
 
Old 03-30-2005, 07:58 AM   #3
Sigh
LQ Newbie
 
Registered: Feb 2005
Location: Toronto
Distribution: Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by born4linux
have you tried setting http_proxy in you env?

try this:

export http_proxy=http://your_proxy_serverortnumber/

and re-run the program.

also, try and search for "transparent proxy howto". that should give you what you need.
Ok, sounds good ... If I run this from a shell prompt, will it be global across all sessions, or does it need to be run in the session the program is running in?

Is there somewhere specific within Linux I search for the "howto" or just on Google? Or on LQ ... there's and idea (pardon me, no coffee yet).
Just a mouth-breathing windoze guy trying to better himself
 
Old 03-30-2005, 08:23 AM   #4
Sigh
LQ Newbie
 
Registered: Feb 2005
Location: Toronto
Distribution: Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
Ok, I've tried the export command, no success. There was no effect on the http requests.

The Transport Proxy using Squid did not seem to be what I'm after (could be wrong).

I'm playing with something called transproxy now.
 
  


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
Set autologin with default user on Red Hat Enterprise 3 dmanchepalli Linux - General 6 02-02-2005 12:08 PM
Set autologin with default user on Red Hat Enterprise 3 dmanchepalli Red Hat 1 02-01-2005 04:01 PM
rh enterprise v3: installing proxy nicolas9510 Red Hat 1 01-24-2005 12:51 PM
Red Hat Enterprise linux israel Linux - Software 2 04-13-2004 02:27 PM
Proxy set up gonus Linux - Networking 5 03-28-2003 12:50 PM

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

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