iptables –t nat –A PREROUTING –i eth0 –s ! 192.168.1.100 –p tcp –dport 80 –j 
REDIRECT –to-port 8080 

 

From: widyachacra [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 9:04 AM
To: [email protected]
Subject: [gentoo-server] skip transparent proxy for specific ip address

 

Dear list friends,

I'm using a squid transparent proxy on my gateway(gentoo box). follow command i 
entered to route my all 80port request to redirect through the squid server.

command,
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 
8080 

Now i want to skip my pc going through the transparent proxy server, my pc ip 
address is 192.168.1.100. please help me to do this.


-- 
---

- Widyachacra Rajapaksha - 

Reply via email to