Gentoo Archives: gentoo-server

From: "Schvarcz András" <andras.schvarcz@××××××.hu>
To: gentoo-server@l.g.o
Subject: RE: [gentoo-server] skip transparent proxy for specific ip address
Date: Tue, 16 Oct 2007 08:02:02
Message-Id: 001c01c80fc8$e5d55b60$b1801220$@schvarcz@ecosol.hu
In Reply to: [gentoo-server] skip transparent proxy for specific ip address by widyachacra
1 iptables –t nat –A PREROUTING –i eth0 –s ! 192.168.1.100 –p tcp –dport 80 –j REDIRECT –to-port 8080
2
3
4
5 From: widyachacra [mailto:widyachacra@×××××.com]
6 Sent: Tuesday, October 16, 2007 9:04 AM
7 To: gentoo-server@l.g.o
8 Subject: [gentoo-server] skip transparent proxy for specific ip address
9
10
11
12 Dear list friends,
13
14 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.
15
16 command,
17 iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
18
19 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.
20
21
22 --
23 ---
24
25 - Widyachacra Rajapaksha -