On 14Nov2014 13:55, Alexis Jeandet <alexis.jeandet@xxxxxxxxxxxxxx> wrote:
Thanks, it's what we already use on gnome, my question was more about
apps like YUM/DNF which doesn't care about gnome config and doesn't like
pac files.
My thoughts are that I should write maybe a simple scripts triggered by
network manager which configures everything depending on the current
host IP or something like this.
You can tell DHCP to issue a proxy server specification.
Whether Linux distros have enough cluefulness to use that by default is unknown
to me, but things like phones etc generally do. You need to define an
additional DHCP field and fill that in with the URL of a proxy.pac file
(standard piece of javascript which tells browsers which proxy settings to use
on a per URL basis).
Have a look at this:
http://wiki.gentoo.org/wiki/ProxyAutoConfig#DHCP_Server_configuration
Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
"I don't see much sense in that," said Rabbit.
"No," said Pooh humbly, "there isn't. But there was _going_ to be when I
began it. It's just that something happened to it on the way."
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org