You are not logged in.
Pages: 1
I have squid proxy set up on 192.168.1.101 and two regular clients on .100 and 102
My router is on 254
Basically I just want to use iptables to force all http traffic to go through 192.168.1.101:3128
I used this guide here http://www.ubuntugeek.com/how-to-setup- … buntu.html
iptables -t nat -A PREROUTING -i ath0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.1.101:3128
iptables -t nat -A PREROUTING -i ath0 -p tcp -m tcp –dport 80 -j REDIRECT --to-ports 3128
The box I tried those iptables rules on is .102 (ubuntu box) and ath0 is the wireless card that is connected to the router .254
But it doesn't seem to be working. Am I missing something here?
Offline
Does nobody know how to do this or am I not clear enough?
Offline
Pages: 1