Need help to block internet except for two sites (WRT54GL)

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
nervx
DD-WRT Novice


Joined: 03 Oct 2016
Posts: 2

PostPosted: Mon Oct 03, 2016 9:51    Post subject: Need help to block internet except for two sites (WRT54GL) Reply with quote
I'm trying to use my old wrt54gl router and set it up to block all internet access except for two sites. Its currently running the dd-wrt.v24-12548_NEWD_min firmware. I've tried a handful of script variations but none seem to work.


The Linksys is connected to a cisco dpc3825 wifi modem, if that's of any importance. I cant modify the cisco itself as the settings are very limited.


Any help or even a quick step by step would be greatly appreciated.
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5703
Location: Akershus, Norway

PostPosted: Mon Oct 03, 2016 10:08    Post subject: Reply with quote
http://www.dd-wrt.com/wiki/index.php/Access_Restrictions
http://www.dd-wrt.com/wiki/index.php/NoCatSplash
nervx
DD-WRT Novice


Joined: 03 Oct 2016
Posts: 2

PostPosted: Tue Oct 04, 2016 8:32    Post subject: Reply with quote
Per Yngve Berg wrote:
http://www.dd-wrt.com/wiki/index.php/Access_Restrictions
http://www.dd-wrt.com/wiki/index.php/NoCatSplash


access restrictions do not help in the case as it doesn't allow a whitelist while blocking the rest of the internet.


nocatsplash doesn't seem to get me the desired results either. lets everything through despite going through the wiki numerous times.

any other help?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5703
Location: Akershus, Norway

PostPosted: Tue Oct 04, 2016 8:46    Post subject: Reply with quote
Manually configure the IPTABLES filters.

https://help.ubuntu.com/community/IptablesHowTo
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum