Setup local squid.conf like
http_port 45678 transparent
ssh to your DD-WRT router
iptables -I FORWARD -p tcp -d 192.168.1.2 –dport 45678 -j ACCEPT
After accept local server forward make a script like ensquid.sh
#!/bin/sh
iptables -t nat -I PREROUTING -p tcp -s $1 –dport 80 -j DNAT –to 192.168.1.2:45678
chmod u+x ensquid.sh
./ensquid.sh 192.168.1.x
Why I do that:
Sucker game console not support use proxy everywhere
Like WiiU cannot use proxy on Nico App
I have two layer proxy setup for JP website. And ad deny feature on my proxy. Why not using it!