News: This forum is now permanently frozen.
Pages: [1]
Topic: Transparent Proxy w/ Squid  (Read 2882 times)
« on: August 02, 2010, 14:57:05 »
animedreamer *
Posts: 19

According to the post at:  http://m0n0.ch/wall/list/showmsg.php?id=301/28, a transparent proxy could be setup via monowall via the following NAT rule:

  <rule>
    <protocol>tcp</protocol>
    <external-port>80</external-port>
    <target>192.168.1.7</target>
    <local-port>80</local-port>
    <interface>lan</interface>
    <descr>redirect HTTP to LAN HTTP Squid Proxy server</descr>
  </rule>

Well, I tried this (updating the target appropriately) and the Squid proxy kept returning the following error message:

The following error was encountered:

    * Invalid Request

Some aspect of the HTTP Request is invalid. Possible problems:

    * Missing or unknown request method
    * Missing URL
    * Missing HTTP Identifier (HTTP/1.0)
    * Request is too large
    * Content-Length missing for POST or PUT requests
    * Illegal character in hostname; underscores are not allowed

The post above is a couple of years old, so I was wondering if something had changed such that the above will no longer work.  Any input is appreciated.

Thanks.

Vincent
« Reply #1 on: September 28, 2010, 23:31:10 »
billmakr *
Posts: 11

I am also trying to redirect web traffic to a lan attached proxy server providing content filtering. I too tried the suggestions found in that old post and it did not work for me. Please could someone offer suggestions to get this working. I have tried many variations but have not been successful. Huh
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines