httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Kim <09su.resea...@gmail.com>
Subject [users@httpd] Transparent Proxy Server Installation
Date Tue, 21 Jul 2009 22:03:25 GMT
Hi. All. I am a beginner. So I really need somebody's help.

I have asked a question about the transparent http apache server.

Nobody answers it yet, so I ask it again and add what I have done until now.

I have set up a server to have two ethernet interface. One is
connected to a swtich to get all packets from users.

The other is connected to WWW

My Apache uses 8080 port and I use "iptables" to get all users'
http-request(80) packet to have 8080 port # as

follows

iptables -t nat -A PREROUTING -i incomminginterface -s sourceip -p tcp
--dport 80 -j REDIRECT --to-port proxyport

I guess I have to make the server work as a gateway for all accessing
users, too.

In addition, I need to do one more thing. After redirection, the
destination address of a packet from a user will be

changed to the local gateway address. So "something" should change the
destination ip by looking at the tcp

payload. For example. if it is www.google.com, the redirected data
packet should have google's ip address as a

destination. Then, the packet can be sent to outside.

This is all I understand about transparent proxy background. I have no
clue about "something" that I mentioned

above. Does the proxy do it? Probably not.. I have searched that squid
software does it.

Is there anybody who have some ideas about transparent http proxy?

Thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message