Pages : 1
#1 Le 19/09/2014, à 13:55
- athanor
Proxy auto config
Bonjour,
J'utilise le serveur DHCP isc-dhcp-server et je souhaite fournir le proxy de connexion internet aux clients avec l'URL suivante : http://10.192.111.222/pac/proxy.pac
Dans /etc/dhcp/dhcpd.conf j'ai :
option proxy-auto-config code 252 = text;
option proxy-auto-local "http:///10.192.111.222/pac/proxy.pac";
Au passage, ces 2 options sont dans un pool.
Mais j'obtiens les erreurs suivantes :
dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
The error was:
Internet Systems Consortium DHCP Server 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 32: option definitions may not be scoped.
option proxy-auto-config code
^
/etc/dhcp/dhcpd.conf line 33: unknown option dhcp.proxy-auto-local
option proxy-auto-local "http://10.192.212.220/pac/proxy.pac"
^
Configuration file errors encountered -- exiting
Une idée pour résoudre mon problème ?
Dernière modification par athanor (Le 19/09/2014, à 14:06)
Hors ligne
#2 Le 20/09/2014, à 09:31
- bruno
Re : Proxy auto config
L'erreur est assez explicite :
/etc/dhcp/dhcpd.conf line 32: option definitions may not be scoped
Ces options doivent être définies dans un contexte global et non dans à l’intérieur d'une section subnet … {…} ou autre.
Hors ligne
Pages : 1