Jump to content

Transparent proxy to forward to non transparent proxy


Recommended Posts

Posted

Hi,

 

Tiny little school, not much budget, got a few tablets in that ideally need a transparent proxy to function in life. Their internet connection is LEA provided, one level of filtering with no authentication to the proxy itself (you just specify the address and port and away you go). Just wondering if there is any software/OS that could sit ideally on a VM (but I'll take a physical box if I have to!) and sit between the internet connection and the LAN to take http/https requests that aren't proxied and forward them on to the proxy - so basically make internal proxy the default gatway, specify no proxy on the device, it takes the request and forwards it on to proxy.lea.sch.uk:8080?

 

Would squid do that I want?

 

Thanks for any pointers in advance :)

Posted
I'm just installing Ubuntu server on a VHD to set squid up to see if it'll do what I want :)

 

You will need something to intercept packets and redirect them to Squid to make a Transparent Proxy - I use Shorewall rules to do this. I don't believe Squid on its own will do the packet interception. General consensus is to make a non-transparent proxy intitially - get it working - then make it transparent. Good luck.

Posted
Sorry didn't read carefully enough. I don't think squid will do what you require. You need something to intercept packets from the tablets and redirect them to your LEA proxy. You will need packet forwarding enabled on your unbuntu box and then something to configure IP Tables such as Shorewall to setup the rules for interception and redirection of http traffic.
Posted
You need two NICs in the system and IPTables needs to be setup to forward HTTP traffic to Squid. There are plenty of guides online for setting this up. For passing traffic to an upstream filtering proxy looking at the cache_peer directive in Squid.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...