The Un-Official Proxomitron Forum

Full Version: Forwarding: howto?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Guest

I'm using BFilter on FreeBSD. Now I want to setup BFilter to forward requests to a Squid proxy. In earlier versions of BFilter, there was an example in the config file how to achieve this, but it's no longer there. Neither can it be found on the website. Can anyone give me a configuration example?
To be able to support proxy chains and multiple forwarding configurations (only useful in a GUI), I moved forwarding configuration from "config" to "forwarding.xml" file. I was too lazy to document it, besides I thought that almost no one uses the non-GUI version.
Here is an example forwarding.xml file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<forwarding>
    <option name="Direct">
    </option>
    <option name="ISP Proxy" selected="selected">
        <bypass>
            <simple-hostnames/>
            <host-mask>*.isp.com</host-mask>
            <host-mask>192.168.*</host-mask>
        </bypass>
        <proxy-chain>
            <proxy>
                <type>http</type>
                <host>proxy.isp.com</host>
                <port>3128</port>
            </proxy>
        </proxy-chain>
    </option>
</forwarding>
BTW, the old method still works, so you can just keep your old configuration.
Reference URL's