Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - satsu

#1
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 ?