Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Apache as Proxy Server

Apache as Proxy Server 10 years 3 weeks ago #18102

  • Bublitz
  • Bublitz's Avatar
  • Offline
  • Senior Member
  • Posts: 301
  • Thank you received: 3
  • Karma: 2
I wan't to use apache as a proxy server. I have it working at the moment.

The way I have it setup it will block ALL internet requests. What I want to add then is a couple sites that are ok i.e intranet sites. I can't find a statment to use along site "ProxyBlock *" to allow some sites. Its easier this way then to specify all domains on the internet lol.

<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Deny from all
Allow from (lan)
</Proxy>
</IfModule>
ProxyBlock *
The Bublitz
Systems Admin
Hospice of the Red River Valley
The administrator has disabled public write access.

Re: Apache as Proxy Server 10 years 2 weeks ago #18141

Concept rocks man,

Explain in detail let me try it, since I am not an expert in this.

DIL.....................!
The administrator has disabled public write access.

Re: Apache as Proxy Server 10 years 2 weeks ago #18237

  • Bublitz
  • Bublitz's Avatar
  • Offline
  • Senior Member
  • Posts: 301
  • Thank you received: 3
  • Karma: 2
Add these lines in you apache config and apache works as a proxy server. Except the last line that will block all url requests.

<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Deny from all
Allow from (lan)
</Proxy>
</IfModule>
ProxyBlock *

It actually works. Only problem is not much control on acls for urls like squid. So it won't work for me
The Bublitz
Systems Admin
Hospice of the Red River Valley
The administrator has disabled public write access.
Time to create page: 0.074 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup