Unix Technical Forum

SCO box itself to use external proxy server

This is a discussion on SCO box itself to use external proxy server within the Sco Unix forums, part of the Unix Operating Systems category; --> For all sorts of reasons a SCO 5.07 box (A) cannot know a direct route to the internet. A ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 02:26 PM
G3WIP
 
Posts: n/a
Default SCO box itself to use external proxy server

For all sorts of reasons a SCO 5.07 box (A) cannot know a direct route to
the internet. A route can be established between it and another SCO
machine's apache proxy server another LAN, which does have a route and
gateway to the internet.

How to I get local, ie from within SCO box (A) calls for http and https to
go via the external proxy server? I think I am being rather stupid here. I
assume the answer is very simple.

Gerry

email is gerard at careprovider dot com



--
http://www.careprovider.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 02:26 PM
Ian Wilson
 
Posts: n/a
Default Re: SCO box itself to use external proxy server

G3WIP wrote:
> For all sorts of reasons a SCO 5.07 box (A) cannot know a direct route to
> the internet. A route can be established between it and another SCO
> machine's apache proxy server another LAN, which does have a route and
> gateway to the internet.
>
> How to I get local, ie from within SCO box (A) calls for http and https to
> go via the external proxy server? I think I am being rather stupid here. I
> assume the answer is very simple.


Many applications will look for an environment variable http_proxy (or
HTP_proxy)

e.g.
HTTP_proxy=http://proxy.example.com:8080
or
HTTP_proxy=http://usernameassword@proxy.example.com:8080

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 02:26 PM
G3WIP
 
Posts: n/a
Default Re: SCO box itself to use external proxy server: Tunnels

"Ian Wilson" <scobloke2@infotop.co.uk> wrote in message
news:ca7ce8$5in$1@hercules.btinternet.com...
> G3WIP wrote:
>> For all sorts of reasons a SCO 5.07 box (A) cannot know a direct route to
>> the internet. A route can be established between it and another SCO
>> machine's apache proxy server another LAN, which does have a route and
>> gateway to the internet.
>>
>> How to I get local, ie from within SCO box (A) calls for http and https
>> to go via the external proxy server? I think I am being rather stupid
>> here. I assume the answer is very simple.

>
> Many applications will look for an environment variable http_proxy (or
> HTP_proxy)
>
> e.g.
> HTTP_proxy=http://proxy.example.com:8080
> or
> HTTP_proxy=http://usernameassword@proxy.example.com:8080


Thanks. I will go and play, but I fear the application has no such variable,
as I suspect they would not expect
or want anyone to go via a proxy for authentication reasons. What I need is
something that traps all locally derived calls to port 80 or whatever and
tunnels it elsewhere.

>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 02:26 PM
Ian Wilson
 
Posts: n/a
Default Re: SCO box itself to use external proxy server: Tunnels

G3WIP wrote:

> "Ian Wilson" <scobloke2@infotop.co.uk> wrote in message
> news:ca7ce8$5in$1@hercules.btinternet.com...
>
>>G3WIP wrote:
>>
>>>For all sorts of reasons a SCO 5.07 box (A) cannot know a direct route to
>>>the internet. A route can be established between it and another SCO
>>>machine's apache proxy server another LAN, which does have a route and
>>>gateway to the internet.
>>>
>>>How to I get local, ie from within SCO box (A) calls for http and https
>>>to go via the external proxy server? I think I am being rather stupid
>>>here. I assume the answer is very simple.

>>
>>Many applications will look for an environment variable http_proxy (or
>>HTP_proxy)
>>
>>e.g.
>>HTTP_proxy=http://proxy.example.com:8080
>>or
>>HTTP_proxy=http://usernameassword@proxy.example.com:8080

>
>
> Thanks. I will go and play, but I fear the application has no such variable,
> as I suspect they would not expect
> or want anyone to go via a proxy for authentication reasons. What I need is
> something that traps all locally derived calls to port 80 or whatever and
> tunnels it elsewhere.
>


It sounds like you need transparent proxying
http://en.tldp.org/HOWTO/TransparentProxy-2.html

You can run a transparent proxy (e.g. Squid) in addition to your
existing Apache proxy on your default gateway machine, so long as you
can allocate separate port numbers to the Apache proxy. I'd use squid
for proxying and apache for plain ordinary web serving. YMMV.
http://www.squid-cache.org/Doc/FAQ/FAQ-17.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com