Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux as Proxy Server

Reply
Thread Tools Display Modes

Linux as Proxy Server

 
 
George
Guest
Posts: n/a

 
      10-03-2007, 05:39 PM
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.


 
Reply With Quote
 
 
 
 
Ignoramus7591
Guest
Posts: n/a

 
      10-03-2007, 05:49 PM
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
 
George
Guest
Posts: n/a

 
      10-03-2007, 09:32 PM
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
 
Ignoramus7591
Guest
Posts: n/a

 
      10-04-2007, 01:36 AM
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
 
George
Guest
Posts: n/a

 
      10-04-2007, 01:59 PM
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
 
Ignoramus8571
Guest
Posts: n/a

 
      10-04-2007, 02:35 PM
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
 
David Brown
Guest
Posts: n/a

 
      10-04-2007, 07:01 PM
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
 
Chris Davies
Guest
Posts: n/a

 
      10-05-2007, 09:29 AM
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
 
Alexander N. Spitzer
Guest
Posts: n/a

 
      10-05-2007, 11:48 PM
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
 
George
Guest
Posts: n/a

 
      10-16-2007, 04:22 PM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting dns ip in linux proxy server angel Linux Networking 1 02-07-2005 09:26 AM
Linux to Microsoft Proxy Server connection. Richard K. Kishore Linux Networking 14 08-09-2004 06:25 PM
POP3 proxy server for RH Linux Ravi Linux Networking 7 11-29-2003 08:11 AM
Linux as mail/proxy server? Manos Petridis Linux Networking 3 11-08-2003 12:17 AM
Proxy Server on Linux World705 Linux Networking 0 07-25-2003 07:21 PM



1 2 3 4 5 6 7 8 9 10 11