Hi Bruno, had the same errormessage, but maybe another reason. In my case it was the squid.conf. Setup as recomanded in: http://www.tldp.org/HOWTO/mini/TransparentProxy.html Section: Setting up Squid and everithing worked fin for me. Hope this helps, Gruß, Thomas BLeonhardt@analytek.de wrote:
Hi all,
have tried to redirect all http-requests on Port 80 to Port 8080 ( DansGuardian with Squid 2.4-Stable7 ) with :
iptables -A PREROUTING -t nat -j REDIRECT -s 192.168.x.x/24 -d 0/0 -p tcp --dport 80 --to-ports 8080
but isn't working .. I will get following error-message :
While trying to retrieve the URL: /index.php 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
----------------
But the the URL was given correct ...
.. does anybody know this Problem ?
Further I've tried to Redirect with DNAT :
iptables -A PREROUTING -t nat -j DNAT -s 192.168.x.x/24 -d 0/0 -p tcp --dport 80 --to-destination 192.168.x.x:8080
but isn't working too ... :-(
Best Regards / Gruß Bruno Leonhardt
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
-- www.ArcStyler.com - the Architectural IDE for MDA:J2EE/CORBA/EAI -> CyberOne Award -> Winner Crossroads A-List Award USA -> IBM Solution Excellence Award winner for Hot Java Solution -> European Information Society Technologies Prize Winner -> Made with ArcStyler www.NewWaveSearchables.com -> OMG Press, John Wiley 2002 www.ConvergentArchitecture.com ----- < iO > --------------------------------------------------------- Interactive Objects Software GmbH mailto:Thomas.Kerkau@io-software.com http://www.io-software.com Basler Strasse 65, D-79100 Freiburg, Germany Tel: [+49]-761-40073-0, Fax: [+49]-761-40073-73 ----------------------------------------------------------------------