Community discussions

MikroTik App
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

blocking devices off your network

Sat Apr 03, 2021 9:23 pm

How do i block devices off my router?
Whats the easyest way?

I've tried using firewall and some other methods but nothing worked.
Its as almost tho that i need to just straight up turn off wireless.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: blocking devices off your network

Sat Apr 03, 2021 9:24 pm

Your requirement is not clear.
Please state what you want users to be able or not able to do.
Please state what you want devices to be able or not able to do....
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: blocking devices off your network

Sat Apr 03, 2021 9:32 pm

Blocking a device on lan to not use your net may not be easy. He can change IP to a new that is working. MAC address can be changed if that is blocked. PPPoE may give some control. Only good solution is to prevent physical access to the network.
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

Re: blocking devices off your network

Sat Apr 03, 2021 9:51 pm

I just wana make it so that the device cant acces the internet nor lan
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: blocking devices off your network

Sat Apr 03, 2021 10:27 pm

Make a static DHCP for the mac of the client, then block the IP.
But as I said, if that is a clever person, he just changes his mac. Some I do at airports to get a new free wifi periode.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: blocking devices off your network

Sun Apr 04, 2021 1:27 am

Again, describe the situation in sufficient detail.
What devices?
How do they attach to the network to begin with
What is their purpose.
Stop being so obtuse..........
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

Re: blocking devices off your network

Tue Apr 06, 2021 9:31 am

Make a static DHCP for the mac of the client, then block the IP.
But as I said, if that is a clever person, he just changes his mac. Some I do at airports to get a new free wifi periode.
How do i block the ip?
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: blocking devices off your network

Tue Apr 06, 2021 12:05 pm

Some like this:
/ip firewall filter
add action=drop chain=forward src-address=192.168.88.40
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

Re: blocking devices off your network

Sat Apr 10, 2021 9:39 pm

Some like this:
/ip firewall filter
add action=drop chain=forward src-address=192.168.88.40
This doesent work in the slightest i even reboted the router.

Could it be that fact that this router was given to me by my isp and has some presets in the firewall thing???
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: blocking devices off your network

Sat Apr 10, 2021 11:49 pm

unless you post your config answers will be hard to come by
/export hide-sensitive file=anynameyouwish
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: blocking devices off your network

Sun Apr 11, 2021 12:18 am

Could it be that fact that this router was given to me by my isp and has some presets in the firewall thing???
Yes, and as Anav posted, without seeing you configuration, it would be hard to help.
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

Re: blocking devices off your network

Sun Apr 11, 2021 12:20 pm

Could it be that fact that this router was given to me by my isp and has some presets in the firewall thing???
Yes, and as Anav posted, without seeing you configuration, it would be hard to help.
Alright
You do not have the required permissions to view the files attached to this post.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: blocking devices off your network

Sun Apr 11, 2021 12:35 pm

I do not find any DHCP reservation or access rule for 192.168.88.40.

Some like this:
/ip dhcp-server lease
add address=192.168.88.40  mac-address=AA:AA:AA:00:FE:CC server=defconf
You have named DHCP as "defconf", not a good name to use.

I can not see at first glims any big error in the config.

PS user <Post Reply> button below post. No need to quote post above you.
Last edited by Jotne on Sun Apr 11, 2021 12:59 pm, edited 1 time in total.
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

Re: blocking devices off your network

Sun Apr 11, 2021 12:59 pm

I dont get any of this.

Is there just a more simple way?
Cuz on my old router i could just open a page and block any device.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: blocking devices off your network

Sun Apr 11, 2021 1:03 pm

MT router have some steep learning curve. But when you get the hang of it, you will love it.

To reserve an IP for Winbox or Webif gui.

IP->DHCP Server->Leases->+-> add IP and Mac address->OK

Or start a terminal and cut/past command I posted above. Set mac correct first.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10186
Joined: Mon Jun 08, 2015 12:09 pm

Re: blocking devices off your network

Sun Apr 11, 2021 2:02 pm

You have named DHCP as "defconf", not a good name to use.
That is just meaning "default configuration", it is the name set by MikroTik when you accept the default configuration or use the Quick Set menu to configure things.
Besides that, the name does not influence the behavior in any way.
Is there just a more simple way?
Cuz on my old router i could just open a page and block any device.
Well, that is the difference between consumer routers and MikroTik. MikroTik routers are for network professionals, they do not have such features.
Also, even with that old router it would not really work, i.e. it would be easy to work around.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: blocking devices off your network

Sun Apr 11, 2021 2:23 pm

Curious as to where you got the idea that mikrotik were consumer dumbed down devices??
The config seems okay on a quick view.
 
User avatar
NotAdad
just joined
Topic Author
Posts: 22
Joined: Sat Jan 09, 2021 10:25 pm

Re: blocking devices off your network

Sun Apr 11, 2021 3:58 pm

Well my isp gave me this for free so yeah.

Who is online

Users browsing this forum: dmconde and 56 guests