Hi,

sorry…i had some hardware problem with my router and got it replaced today.
I tried as you mentioned, but couldnt succeed.

So, this is what i did.

I installed squid on the router.
then added the below code in /etc/squid/squid.conf

acl whitelist dstdomain .ubuntu.com codebudha.com
http_access allow whitelist

i wanted to allow access only to ubuntu and codebudha from the network.

Then created an iptable firewall rules as below to reroute all the packets to squid’s port.

iptables -t nat -A PREROUTING -s 192.168.1.5 -p tcp --dport 80:443 -j DNAT --to-destination 10.100.111.50:3128

here 10.100.111.50 is the router’s wlan-sta ipaddress, where the router is now working as a repeater.

But, its not working.
Any idea what i am missing here.