Dear All, I have 2 internet gateways in our LAN system;
- Mikrotik
- Other brand router.
I want to make my Mikrotik as gateway that dedicated for several IP address in our LAN.
Only IP address xxx.xxx.xxx.10, xxx.xxx.xxx.12 … 10 address and reject other IP address.
Could anyone please help me on how to configure mikrotik to only accept certain address and reject other IP address?
Your help will be so much appreciated.
Best Regards
ssffzzxx
Hey,
You can do that using firewall, something like:
ACCEPT YOUR 1ST IP
/ip firewall filter add chain=forward src-address=xxx.xxx.xx.10/32 action=accept
ACCEPT YOUR 2ND IP
/ip firewall filter add chain=forward src-address=xxx.xxx.xx.12/32 action=accept
REJECT REST OF YOUR NETWORK
/ip firewall filter add chain=forward src-address=xxx.xxx.xx.0/24 action=drop
If you are using winbox, you can do it all under IP -> FIRWALL -> FILTER menu.
This is a simple sample, but you can do more, like redirect traffic to other gateway or you can also
create a source address list e put all permited IPs on it.
Dear Thiele,
Many thanks for your help.
I am so appreciated with it.
Best Regards