Block range of IP addresses?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
JackElliott
Posts: 38
Joined: Mon Oct 07, 2013 2:53 pm

Block range of IP addresses?

Post by JackElliott »

I'd like to block a range of IP addresses on the Internet so the computers on our LAN cannot contact them. Is this possible?
--
Jack Elliott

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

Re: Block range of IP addresses?

Post by Rog66 »

I've never done it but I think what you want is

Firewall -> Restrictions ->Add New Rule

A new rule will be added. Click on the edit button and.....

Give the rule a name

Untick " all network access" and other options will appear
Change "RemoteIPs" to "block only" and then input the ip address(es) or range that you want to block.

Save your changes and then test it

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: Block range of IP addresses?

Post by BashfulBladder »

TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

JackElliott
Posts: 38
Joined: Mon Oct 07, 2013 2:53 pm

Re: Block range of IP addresses?

Post by JackElliott »

Bashfulbladder: Many thanks.
--
Jack Elliott

JackElliott
Posts: 38
Joined: Mon Oct 07, 2013 2:53 pm

Re: Block range of IP addresses?

Post by JackElliott »

Oh -- Rog66, thanks, also.
--
Jack Elliott

shayanjameel08
Posts: 10
Joined: Sat Oct 12, 2013 7:51 am

Re: Block range of IP addresses?

Post by shayanjameel08 »

want more about blocking

Post Reply