Transparent Proxy Server Installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux