Newbie trying to connect to HTTP Proxy Server

Issues related to configuring your network
Post Reply
Spacesurfer
Posts: 3
Joined: 2010/05/16 02:54:18

Newbie trying to connect to HTTP Proxy Server

Post by Spacesurfer » 2010/05/16 03:36:21

So I'm a Linux newbie and I'm trying to set up a server for an NPO who connects to the Internet through an internal proxy (Websense). I can't access the Internet unless through the proxy.

Since it's a server I did not install a GUI so I'm wondering how to connect the new server to said proxy server. I have the IP address, port number and username-password for the proxy server. The new server has a static IP address and is ready too go!

What do I need to do?

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: Newbie trying to connect to HTTP Proxy Server

Post by chuina » 2010/05/16 06:40:52

Welcome to CentOS

Required readings for all new members are [url=http://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url].

[quote]Spacesurfer wrote:
...What do I need to do?[/quote]
You need to show more info. How you configured [b]Squid[/b] (centos proxy server) , how the IPTables (firewall) configured.

Spacesurfer
Posts: 3
Joined: 2010/05/16 02:54:18

Re: Newbie trying to connect to HTTP Proxy Server

Post by Spacesurfer » 2010/05/16 13:15:14

[quote]
chuina wrote:

You need to show more info. How you configured [b]Squid[/b] (centos proxy server) , how the IPTables (firewall) configured.[/quote]

I'm sorry but did you even read my post? I'm not using Squid nor do I need to do anything to my firewall. I just need to know how to connect to my companies Websense Proxy Server so this new server I set up for them can access the Internet.

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: Newbie trying to connect to HTTP Proxy Server

Post by chuina » 2010/05/16 13:47:45

I'm sorry too.
As this is not any CentOS shipped package so I can not offer any idea.Some one else may suggest about this package.

r_hartman
Posts: 706
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Newbie trying to connect to HTTP Proxy Server

Post by r_hartman » 2010/05/17 10:10:21

Welcome to the CentOS fora. The following reading is recommended for new users:
Readme First
Installing Software
Where to Find Answers
How to provide information about your system

You do not specify what this server needs internet access for. Specific applications will normally have their own config files where you can configure proxies, for yum you can add an entry to /etc/yum.conf, and you can also set a system-wide proxy.

A quick google would have gotten you this link (a.o.):
http://wiki.centos.org/TipsAndTricks/YumAndRPM#head-ea1fc5d78f578114f4843e57627ebae9cc4fcb5a

hi_vkkadam
Posts: 74
Joined: 2007/11/05 16:08:34
Location: Pune

Newbie trying to connect to HTTP Proxy Server

Post by hi_vkkadam » 2010/05/20 09:55:11

you can use text based browser such as lynx i will explain u how to set the proxy

open configuration file using vi editor and add the http_proxy line as follows

vi /etc/lynx-site.cfg
http_proxy="http://a.b.c.d:port/"



where a.b.c.d is your proxy server ip and port is proxy port

to browse the site just type following line on command prompt

lynx www.yahoo.com


Regards
Vijay kadam

Spacesurfer
Posts: 3
Joined: 2010/05/16 02:54:18

Re: Newbie trying to connect to HTTP Proxy Server

Post by Spacesurfer » 2010/05/28 22:07:35

Thanks for the replies, I really appreciate it! I have just found time to work on this so I'll let you know if everything worked.

Post Reply

Return to “CentOS 5 - Networking Support”