I'm using squid, iptables and HAVP on same machine with one ethernet card on my LAN.
I've flushed my firewall and then added following ip tables rule..
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
which is the only rule in my iptables.
I set TRANSPERENTPROXY to true and start HAVP then i test from other machine with default gateway to my machine and try to open webpage which is unsuccessful.
Below is my ethereal output...
77 192.041702 10.10.136.47 -> 10.255.255.255 NBNS Name query NB
WWW.WINAMP.COM<00>
78 192.790200 10.10.136.47 -> 10.255.255.255 NBNS Name query NB
WWW.WINAMP.COM<00>
79 193.540168 10.10.136.47 -> 10.255.255.255 NBNS Name query NB
WWW.WINAMP.COM<00>
80 194.170409 10.10.136.52 -> 10.255.255.255 SMB_NETLOGON SAM LOGON request from client
81 194.296885 10.10.136.47 -> 10.10.136.253 DNS Standard query A
www.winamp.com
82 194.296939 10.10.136.253 -> 10.10.136.47 ICMP Destination unreachable (Port unreachable)
83 194.297205 10.10.136.47 -> 10.255.255.255 NBNS Name query NB
WWW.WINAMP.COM<00>
84 195.040119 10.10.136.47 -> 10.255.255.255 NBNS Name query NB
WWW.WINAMP.COM<00>
85 195.790080 10.10.136.47 -> 10.255.255.255 NBNS Name query NB
WWW.WINAMP.COM<00>
86 197.040423 Executon_02:bd:2c -> RealtekS_21:8e:f8 ARP Who has 10.10.136.47? Tell 10.10.136.253
87 197.040506 RealtekS_21:8e:f8 -> Executon_02:bd:2c ARP 10.10.136.47 is at 00:e0:4c:21:8e:f8
where 10.10.136.253 is ip of squid,HAVP iptables machine and 10.10.136.47 is from where i test.
I have tried both with squid as parent proxy and without. The strange thing is i can run squid in transperent mode alone with same setting.
any way u can help