httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Kim <>
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


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, 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?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message