About Transparent proxy
Dear friends ,
Suppose i have a Linux Enterprise 4 server , which IP is 192.168.10.1 And on the other hand,I have one Client through this server . His IP is 192.168.10.2 .My client is directly Connected with my server using cross cable .Here in this server I have configured Web Server and Squid Server .
I have blocked my WEB (80) port (Using Iptables firewall) , so that 192.168.10.2 can't connect with my Web Server .
I want such a condition so that my clients use my proxy server without proxy setting into his web browser. So in this moment I want to make "Transparent Proxy " into my server . Now i have the following Questions :
1 ) I have two Lan card , one is into my Server , and another into my client machine . This Lan cards are Directly Connected . Now Is it possible to make Transparent proxy into my server using just one Lan Card ? If it is possible then what is the IPtables rules ?
2 ) If I have Two Lan card Where One is Directly connected with INTERNET and Another Lan is Connected with the Switch .In that Condition What is the IPtables rules for Transparent Proxy ?
plz help .......... thx..
|