Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Linux as Proxy Server

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2007, 06:39 PM
Default Linux as Proxy Server



Is there some software that will allow me to build a Linux server and use it
as a pure proxy server? I don't need a firewall, nor do I want a firewall
to run on this server. The server only needs to have one interface.

I want to have some of my machines inside my firewall to use this new
machine as a caching proxy.

Also, from outside my firewall, I want to be able to access my firewall on a
non-standard port and have it pass the traffic to my proxy server. Then I
want the proxy server to handle the internet requests.




George
Reply With Quote
  #2  
Old 10-03-2007, 06:49 PM
Ignoramus7591
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

On 2007-10-03, George <(E-Mail Removed)> wrote:
> Is there some software that will allow me to build a Linux server and use it
> as a pure proxy server? I don't need a firewall, nor do I want a firewall
> to run on this server. The server only needs to have one interface.
>
> I want to have some of my machines inside my firewall to use this new
> machine as a caching proxy.



download squid and read about iptables. (caching proxy only makes
sense for HTTP, pretty much)

>
> Also, from outside my firewall, I want to be able to access my firewall on a
> non-standard port and have it pass the traffic to my proxy server. Then I
> want the proxy server to handle the internet requests.
>


I am not sure what you mean here.

i
Reply With Quote
  #3  
Old 10-03-2007, 10:32 PM
George
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

Thanks for the reply.

What I really want is the proxy server to handle the request no mater if the
originating machine is on my network or is accessing it from the outside.

Caching would only be necessary for http and https, maybe FTP.

I will check out squid.

"Ignoramus7591" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ...
> On 2007-10-03, George <(E-Mail Removed)> wrote:
>> Is there some software that will allow me to build a Linux server and use
>> it
>> as a pure proxy server? I don't need a firewall, nor do I want a
>> firewall
>> to run on this server. The server only needs to have one interface.
>>
>> I want to have some of my machines inside my firewall to use this new
>> machine as a caching proxy.

>
>
> download squid and read about iptables. (caching proxy only makes
> sense for HTTP, pretty much)
>
>>
>> Also, from outside my firewall, I want to be able to access my firewall
>> on a
>> non-standard port and have it pass the traffic to my proxy server. Then
>> I
>> want the proxy server to handle the internet requests.
>>

>
> I am not sure what you mean here.
>
> i


Reply With Quote
  #4  
Old 10-04-2007, 02:36 AM
Ignoramus7591
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

On 2007-10-03, George <(E-Mail Removed)> wrote:
> Thanks for the reply.
>
> What I really want is the proxy server to handle the request no mater if the
> originating machine is on my network or is accessing it from the outside.


This can very quickly get you in big trouble (spammers and hackers
abusing open proxies).

> Caching would only be necessary for http and https, maybe FTP.
>
> I will check out squid.


Check out squid and proxy only your internal network -- do not make it
available to the outside computers. Verify specifically that outside
machines cannot use your machine as a proxy.

i

> "Ignoramus7591" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ...
>> On 2007-10-03, George <(E-Mail Removed)> wrote:
>>> Is there some software that will allow me to build a Linux server and use
>>> it
>>> as a pure proxy server? I don't need a firewall, nor do I want a
>>> firewall
>>> to run on this server. The server only needs to have one interface.
>>>
>>> I want to have some of my machines inside my firewall to use this new
>>> machine as a caching proxy.

>>
>>
>> download squid and read about iptables. (caching proxy only makes
>> sense for HTTP, pretty much)
>>
>>>
>>> Also, from outside my firewall, I want to be able to access my firewall
>>> on a
>>> non-standard port and have it pass the traffic to my proxy server. Then
>>> I
>>> want the proxy server to handle the internet requests.
>>>

>>
>> I am not sure what you mean here.
>>
>> i

>

Reply With Quote
  #5  
Old 10-04-2007, 02:59 PM
George
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

I,

I appreciate your advice. I understand completely the implications of
allowing outside hosts into my network. I have a very valid reason for
doing this. I will take all other possible precautions. My only questions
were is it technically feasible and if so, how.

Maybe when I get another machine, I will use Linux for a complete firewall
instead of my Linksys.



"Ignoramus7591" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ...
> On 2007-10-03, George <(E-Mail Removed)> wrote:
>> Thanks for the reply.
>>
>> What I really want is the proxy server to handle the request no mater if
>> the
>> originating machine is on my network or is accessing it from the outside.

>
> This can very quickly get you in big trouble (spammers and hackers
> abusing open proxies).
>
>> Caching would only be necessary for http and https, maybe FTP.
>>
>> I will check out squid.

>
> Check out squid and proxy only your internal network -- do not make it
> available to the outside computers. Verify specifically that outside
> machines cannot use your machine as a proxy.
>
> i



Reply With Quote
  #6  
Old 10-04-2007, 03:35 PM
Ignoramus8571
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

On 2007-10-04, George <(E-Mail Removed)> wrote:
> I,
>
> I appreciate your advice. I understand completely the implications of
> allowing outside hosts into my network. I have a very valid reason for
> doing this. I will take all other possible precautions. My only questions
> were is it technically feasible and if so, how.
>
> Maybe when I get another machine, I will use Linux for a complete firewall
> instead of my Linksys.
>


You do not need an extra linux box to be your firewall, you can use
the box you are using for other purposes. It does not need to be
dedicated.

i

>
> "Ignoramus7591" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ...
>> On 2007-10-03, George <(E-Mail Removed)> wrote:
>>> Thanks for the reply.
>>>
>>> What I really want is the proxy server to handle the request no mater if
>>> the
>>> originating machine is on my network or is accessing it from the outside.

>>
>> This can very quickly get you in big trouble (spammers and hackers
>> abusing open proxies).
>>
>>> Caching would only be necessary for http and https, maybe FTP.
>>>
>>> I will check out squid.

>>
>> Check out squid and proxy only your internal network -- do not make it
>> available to the outside computers. Verify specifically that outside
>> machines cannot use your machine as a proxy.
>>
>> i

>
>

Reply With Quote
  #7  
Old 10-04-2007, 08:01 PM
David Brown
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

George wrote:
> Thanks for the reply.
>
> What I really want is the proxy server to handle the request no mater if
> the originating machine is on my network or is accessing it from the
> outside.
>
> Caching would only be necessary for http and https, maybe FTP.
>


https cannot be cached - the encryption codes for a given transfer are
known only to the browser and the web server, so the proxy machine
cannot see the contents and therefore cannot cache anything. If that
were not the case, then the whole concept of https would be worthless.
(It is possible to get squid to do some types of http to https
translation, but not https caching.)


> I will check out squid.
>
> "Ignoramus7591" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ...
>> On 2007-10-03, George <(E-Mail Removed)> wrote:
>>> Is there some software that will allow me to build a Linux server and
>>> use it
>>> as a pure proxy server? I don't need a firewall, nor do I want a
>>> firewall
>>> to run on this server. The server only needs to have one interface.
>>>
>>> I want to have some of my machines inside my firewall to use this new
>>> machine as a caching proxy.

>>
>>
>> download squid and read about iptables. (caching proxy only makes
>> sense for HTTP, pretty much)
>>
>>>
>>> Also, from outside my firewall, I want to be able to access my
>>> firewall on a
>>> non-standard port and have it pass the traffic to my proxy server.
>>> Then I
>>> want the proxy server to handle the internet requests.
>>>

>>
>> I am not sure what you mean here.
>>
>> i

>

Reply With Quote
  #8  
Old 10-05-2007, 10:29 AM
Chris Davies
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

George <(E-Mail Removed)> wrote:
> I appreciate your advice. I understand completely the implications of
> allowing outside hosts into my network.


That's not the problem we're concerned about.

You must specifically ensure that hosts outside your network cannot use
your web proxy to access other hosts outside your network.

Chris
Reply With Quote
  #9  
Old 10-06-2007, 12:48 AM
Alexander N. Spitzer
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

George wrote:
> Is there some software that will allow me to build a Linux server and
> use it as a pure proxy server? I don't need a firewall, nor do I want a
> firewall to run on this server. The server only needs to have one
> interface.
>
> I want to have some of my machines inside my firewall to use this new
> machine as a caching proxy.
>
> Also, from outside my firewall, I want to be able to access my firewall
> on a non-standard port and have it pass the traffic to my proxy server.
> Then I want the proxy server to handle the internet requests.
>
>


"squid" if you want a caching proxy
"apache" with mod-proxy if you just want a pass thru proxy.

Alexander Spitzer
Bonsai Bonanza
http://www.BonsaiBonanza.com
Reply With Quote
  #10  
Old 10-16-2007, 05:22 PM
George
Guest
 
Posts: n/a
Default Re: Linux as Proxy Server

That is exactly what I want to do. I should be able to put the proxy on
another port so that anonymous users won't be able to access the proxy.
Also, wouldn't I be able to put a password on the server.

"Chris Davies" <chris-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> George <(E-Mail Removed)> wrote:
>> I appreciate your advice. I understand completely the implications of
>> allowing outside hosts into my network.

>
> That's not the problem we're concerned about.
>
> You must specifically ensure that hosts outside your network cannot use
> your web proxy to access other hosts outside your network.
>
> Chris


Reply With Quote
Reply

Tags
linux, proxy, server

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.