I am having trouble getting WHS2011 and transparent squid proxy to play nice. before my server's remote access worked without a hitch by going to *.homeserver.com. Once I started running squid in transparent mode I could no longer access it and the web address resolved to 192.168.0.2 (WHS internal IP).
Initial firewall rules
iptables -t nat -A PREROUTING -i br0 -s $LAN_NET -d $LAN_NET -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -i br0 -s ! $PROXY_IP -p tcp --dport 80 -j DNAT --to $PROXY_IP:$PROXY_PORT
iptables -t nat -I POSTROUTING -o br0 -s $LAN_NET -d $PROXY_IP -p tcp -j SNAT --to $LAN_IP
iptables -I FORWARD -i br0 -o br0 -s $LAN_NET -d $PROXY_IP -p tcp --dport $PROXY_PORT -j ACCEPT
I've added "iptables -t nat -A PREROUTING -i br0 -s 192.168.0.2 -j ACCEPT" but now if I try to ping *.homeserver.com it says could not find host.
Any help would be appreciated.