Page 1 of 1
blocking devices off your network
Posted: Sat Apr 03, 2021 9:23 pm
by NotAdad
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.
Re: blocking devices off your network
Posted: Sat Apr 03, 2021 9:24 pm
by anav
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....
Re: blocking devices off your network
Posted: Sat Apr 03, 2021 9:32 pm
by Jotne
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.
Re: blocking devices off your network
Posted: Sat Apr 03, 2021 9:51 pm
by NotAdad
I just wana make it so that the device cant acces the internet nor lan
Re: blocking devices off your network
Posted: Sat Apr 03, 2021 10:27 pm
by Jotne
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.
Re: blocking devices off your network
Posted: Sun Apr 04, 2021 1:27 am
by anav
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..........
Re: blocking devices off your network
Posted: Tue Apr 06, 2021 9:31 am
by NotAdad
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?
Re: blocking devices off your network
Posted: Tue Apr 06, 2021 12:05 pm
by Jotne
Some like this:
/ip firewall filter
add action=drop chain=forward src-address=192.168.88.40
Re: blocking devices off your network
Posted: Sat Apr 10, 2021 9:39 pm
by NotAdad
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???
Re: blocking devices off your network
Posted: Sat Apr 10, 2021 11:49 pm
by anav
unless you post your config answers will be hard to come by
/export hide-sensitive file=anynameyouwish
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 12:18 am
by Jotne
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.
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 12:20 pm
by NotAdad
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
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 12:35 pm
by Jotne
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.
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 12:59 pm
by NotAdad
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.
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 1:03 pm
by Jotne
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.
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 2:02 pm
by pe1chl
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.
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 2:23 pm
by anav
Curious as to where you got the idea that mikrotik were consumer dumbed down devices??
The config seems okay on a quick view.
Re: blocking devices off your network
Posted: Sun Apr 11, 2021 3:58 pm
by NotAdad
Well my isp gave me this for free so yeah.