1
Web Proxy Filtering and Caching / squid wpad change default direct
« on: April 16, 2024, 03:28:20 pm »
Hello.
I found that there is no GUI configuration for the last string of wpad file generation. at the end always
}
// If no rule exists - use a direct connection
return "DIRECT";
}
How to change this behavior to something similar fortigate or manual squid config?
here how it is looks in fortigate:
return "PROXY proxy.example.com:3128; DIRECT";
i found that config maybe generated from usr/local/opnsense/service/templates/OPNsense/Proxy/wpad.dat .
{% endif %}
// If no rule exists - use a direct connection
return "DIRECT";
}
is that's right? can i change the last part of file to my custom config?
so, what is the best way to change default direct to default proxy in wpad ?
I found that there is no GUI configuration for the last string of wpad file generation. at the end always
}
// If no rule exists - use a direct connection
return "DIRECT";
}
How to change this behavior to something similar fortigate or manual squid config?
here how it is looks in fortigate:
return "PROXY proxy.example.com:3128; DIRECT";
i found that config maybe generated from usr/local/opnsense/service/templates/OPNsense/Proxy/wpad.dat .
{% endif %}
// If no rule exists - use a direct connection
return "DIRECT";
}
is that's right? can i change the last part of file to my custom config?
so, what is the best way to change default direct to default proxy in wpad ?