Tiernan's Comms Closet

Geek, Programmer, Photographer…

RouterOS Using Host names in Firewall Rules

by . Tags: RouterOS , Firewall , Networking .

As a follow up to yesterday’s post on RouterOS Blocking Machine access to all but one IP I tought i would show how to add extra IPs to that list, without having a shedload of firewall filters. First things first, get your list of IPs you allow access to. In my case, i just did an NSLOOKUP on the name and got the IPs. Create an “Address List” in RouterOS.

Read more →

RouterOS Blocking Machine access to all but one IP

by . Tags: RouterOS , Networking , Firewall .

So, i have a machine on my network, which should be only connecting to the internet though a VPN. I needed to tell my RouterOS box to block all access, except to this said IP address… The following should do the trick… YMMV this will drop any packets from the srcaddress (IP address) that are not for destination dstaddress (IP address). in my case, dstaddress is the VPN server i want to connect to.

Read more →