Hot Downloads

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Apache as Proxy Server

Apache as Proxy Server 11 years 11 months ago #18102

  • Bublitz
  • Bublitz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 301
  • Karma: 2
  • Thank you received: 3
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

Re: Apache as Proxy Server 11 years 11 months ago #18141

Concept rocks man,

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

DIL.....................!

Re: Apache as Proxy Server 11 years 10 months ago #18237

  • Bublitz
  • Bublitz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 301
  • Karma: 2
  • Thank you received: 3
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
  • Page:
  • 1
Time to create page: 0.149 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