Voila je veux utiliser un proxy situé sur une des interfaces de mon firewall (proxy connecté a internet, sous squid). Le client est sur une autre interface du firewall? J utilise donc le nat, comme suit:
$IPTABLES -t nat -A PREROUTING -p tcp -i $EXTERNAL_IF --dport 80 -j DNAT --to $IP_PROXY:8080
Le but étant de n'avoir rien à spécifier au client dans les propriétés internet.. Le client genere du traffic web sur le port 80 et est ainsi redirigé automatiquement vers le proxy.
L'erreur que j'obtiens est la suivant: (erreur liée au proxy)
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: /
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is squid.
Si quelqu'un avait un solution, cela m'arrengerait
thx