/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */

I want to redirect all my outgoing connection on port
80 to my eth0 port 8080 (to squid)

#/sbin/iptables -A OUTPUT -p tcp -d 0/0 --dport 80 -j
DNAT --to 192.168.1.122:8080

But with :
#tail -f /var/log/squid/access.log
when i request www.google.com/linux, i get:
------------
1014027725.803      0 192.168.1.122 NONE/400 1062 GET
/ - NONE/--1014027725.803   3000 127.0.0.1
TCP_MISS/400 1096 GET
http://www.google.com/ - DIRECT/www.google.com
text/html
-------------

And in my browser i see :
----------
The requested URL could not be retrieved
While trying to retrieve the URL: / 
........
.......
Am i wrong else where ?
Can some one help ?
-------------

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to