ok according to this article its nothing more than iptables
http://tomatousb.org/tut:setup-multi...tic-public-ips
so on the router you need to redirect 80 traffic (443 doesn't allow man in the middle) to your server running squid and dansguardian based on your example above 10.0.1.7
I like to declare variables for iptables
Code:
ipt="/sbin/iptables"
LAN_IFACE="eth0" (you'll need to replace this with the appropriate internal interface name on the router)
$ipt -t nat -A PREROUTING -i $LAN_IFACE -p tcp -m iprange --src-range $localsrc --dport 80 -j DNAT --to 10.0.1.7:8080
you can replace $localsrc if it doesn't resolve, change it to the range you want to redirect for instance
Code:
$ipt -t nat -A PREROUTING -i $LAN_IFACE -p tcp -m iprange --src-range 10.0.1.2-10.0.1.250 --dport 80 -j DNAT --to 10.0.1.7:8080
this assumes you've configured dansguardian to listen on 8080