HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:53

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: 12 Apr 2006 16:32 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Everything coming from eth1 to port 80 should be redirected..

iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080

But you might have some problems with routing because you use same subnet in all interfaces.

Cheers,
Henrik


Top
 Profile  
 
PostPosted: 13 Apr 2006 11:43 
Offline

Joined: 23 Mar 2006 17:00
Posts: 14
Hello

Now it looks like

Test machine: ip 222.222.12.13/16 (gateway 222.222.12.12)

My machine(HAVP + iptables): eth0 :222.222.12.12/16
eth1 :10.10.136.253/8


Now Test machine connects to My machine on eth0 via cross cable and eth1 connects to my LAN gateway hence internet.

iptables rule that u have given also don't work, several other also tried any lastly flushed it.

But still no success
--piyush-- :!:


Top
 Profile  
 
 Post subject:
PostPosted: 13 Apr 2006 11:50 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Well.. I have give up now. It should not be this hard to set up. :)

Perhaps someone else will have time. Or maybe you will figure it out, check some transparent squid and iptables docs.

Cheers,
Henrik


Top
 Profile  
 
PostPosted: 13 Apr 2006 13:44 
Offline

Joined: 23 Mar 2006 17:00
Posts: 14
Voila .... that get solved......

Actually it didn't exist......the problem is other....

I can use HAVP+SQUID transperently as well as HAVP and SQUID alone but i can only use ipaddress.

I can't access via domain , i mean if i try to access www.yahoo.com it's not workin but instead of that if i use ip of yahoo say 12.54.78.97 then it works.

There is no DNS problem as i have cross checked....both in my machine as well as test machine. So kind of mystrios problem.

The ethereal trace looks like

(BY DOMAIN NAME)

610 2164.144762 222.222.12.13 -> 222.222.255.255 NBNS Name query NB WWW.YAHOO.COM<00>
611 2164.887116 222.222.12.13 -> 222.222.255.255 NBNS Name query NB WWW.YAHOO.COM<00>
612 2165.637095 222.222.12.13 -> 222.222.255.255 NBNS Name query NB WWW.YAHOO.COM<00>

(BY IP ADDRESS)

613 2173.044617 222.222.12.13 -> 68.142.197.70 TCP 1228 > www [SYN] Seq=0 Ack=0 Win=65535 Len=0 MSS=1460
614 2173.044682 68.142.197.70 -> 222.222.12.13 TCP www > 1228 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460

kinda mystreous problem
thanks as well
--piyush--


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group