Post Reply 
Forwarding: howto?
Oct. 08, 2007, 08:55 PM
Post: #2
RE: Forwarding: howto?
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.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Forwarding: howto? - Guest - Oct. 08, 2007, 08:16 PM
RE: Forwarding: howto? - jart - Oct. 08, 2007 08:55 PM
RE: Forwarding: howto? - reinerotto - Jun. 02, 2009, 09:12 PM
RE: Forwarding: howto? - reinerotto - Oct. 13, 2009, 10:37 PM

Forum Jump: