LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2001, 10:15 AM   #1
krivi
LQ Newbie
 
Registered: Nov 2001
Posts: 25

Rep: Reputation: 15
Proxy In Linux?!


Please help me...
i have red hat6.2 and netscape4.76,but i have to set an proxy server ,because i want to access web pages over the proxy.I konw to do that in preferences of netscape,but i have an problem.I need i file in witch is declared that proxy and other netscape-options.In witch file proxy is declared.Maybe in some /etc/*???
Please i need this really,help me and if it is not file then tell me where is procy declared in red hat 6.2?????????
 
Old 11-05-2001, 10:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
without meaning to be RTFMish, you really should read

http://www.linuxdoc.org/HOWTO/Firewall-HOWTO.html

you'll only get told little bits of that here.

if you have specific problems with it, then please come back.
 
Old 11-05-2001, 01:46 PM   #3
krivi
LQ Newbie
 
Registered: Nov 2001
Posts: 25

Original Poster
Rep: Reputation: 15
nooo

you dont understand me.
i dont need help on setting me as proxy server.I just need to know how to surf over the proxy.In witch files is declared that proxy server (IP number) ???
anybody know?
 
Old 11-05-2001, 09:35 PM   #4
lsof
Member
 
Registered: Oct 2001
Distribution: red hat 7
Posts: 58

Rep: Reputation: 15
Re: nooo

Quote:
Originally posted by krivi
you dont understand me.
i dont need help on setting me as proxy server.I just need to know how to surf over the proxy.In witch files is declared that proxy server (IP number) ???
anybody know?
first u need to find the correct dns settings from u'r isp. (at least one dns server ip & the domain name). also ask them their proxy name and port number.

take the dns info. and insert it into the file /etc/resolv.conf. if it's there confirm that it is correct.

take the proxy info. and insert it into u'r browser settings for at least http.

dial up or connect to u'r isp and from a console ping the proxy address, if it resolves, u'r browser should work.

that's all there is to it.

u may have to restart u'r network service. in red hat we do that by issuing the command /etc/rc.d/init.d/network stop and then start.

hope this get's u going.

Last edited by lsof; 11-08-2001 at 05:24 AM.
 
Old 11-06-2001, 08:49 AM   #5
krivi
LQ Newbie
 
Registered: Nov 2001
Posts: 25

Original Poster
Rep: Reputation: 15
you dont understand me

you dont understand me,
i just need the file where proxy is defined .i know for resolf.conf and dns definition,but i need file where is proxy defined.I know you will tell me "so define it in options or preferences of your browser",but i know that,and i have to define it over files in red hat 6.2...
PLEASE SOMEBODY help ME!
 
Old 11-06-2001, 09:47 AM   #6
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
In Netscape, go to Edit>Preferences. There will be an advanced thingy at the bottom which will expand out and contains the proxy settings. you should be able to find your way from there!

HTH

glj
 
Old 11-07-2001, 06:56 PM   #7
krivi
LQ Newbie
 
Registered: Nov 2001
Posts: 25

Original Poster
Rep: Reputation: 15
aknow

I know for edit>preferences>advanced>proxy
but my question is : IN WITCH FILES PROXY IS DEFINED,I HAVE TO DEFINED PROXY OVER THE FILES NOT OVER THE PREFERENCES?!?!
I nees that for an c++ program.
Anybody know answer?
 
Old 11-08-2001, 03:26 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sorry, you're being really really really confusing. first you just want to know how to surf over teh proxy, someone tells you, but then that's wrong... then you need to know how to setup the proxy, after i pointed you to the howto...

and it's which, not witch. this is a witch http://tv.cream.org/rodbags.jpg

what is this problem your doing in c++, you really should just use code to look at a system config file... not exactly elegant
 
Old 11-08-2001, 03:32 AM   #9
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Linux doesn't use a proxy, only network applications can use a proxy server (and not all of those).

What application do you want to specify a proxy server for?

Or do you mean you want the file in which the proxy details for netscape navigator are stored? I don't have access to a machine with it right now, but you should look in ~/.netscape/
 
Old 11-08-2001, 12:30 PM   #10
krivi
LQ Newbie
 
Registered: Nov 2001
Posts: 25

Original Poster
Rep: Reputation: 15
hm

i just need to make application for linux in c++.In that application i would like to ASK usero you want to change proxy? if he say :yes i would like to ask him :tell me ip number of proxy?
and if user give ip of proxy then proxy is set and i can surf over the http proxy.
how to do that?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Linux Proxy kaazzman Linux - Security 1 11-26-2005 09:48 AM
Linux Proxy ajkannan83 Linux - General 1 08-22-2005 03:14 PM
How to use proxy on linux? alitrix Linux - Networking 0 05-21-2004 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:55 AM.

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