Community discussions

MikroTik App
 
danmiles86
just joined
Topic Author
Posts: 14
Joined: Thu Mar 24, 2016 10:54 pm

Firewall rule not working

Thu Mar 24, 2016 11:02 pm

Not great with firewall rules so almost certainly my fault!

I've got a neighbor sharing my connection but I don't want them to be able to reach my internal 192.168.x.x network. Their router IP is a public IP.

My attempt;
Chain: Forward
Dst Address: 192.168.0.0/16
In Interface: pppoe-interface
action: drop

However he is still able to access this internal network so not sure what I have done wrong.

Thanks!
 
User avatar
ShayanFiroozi
Member Candidate
Member Candidate
Posts: 281
Joined: Sat Jun 01, 2013 12:44 pm
Location: Bandar Abbas , Iran

Re: Firewall rule not working

Sat Mar 26, 2016 6:16 pm

Hi,
please print out your configuration , maybe before your rule there is a rule which accepting packets
 
danmiles86
just joined
Topic Author
Posts: 14
Joined: Thu Mar 24, 2016 10:54 pm

Re: Firewall rule not working

Sat Mar 26, 2016 6:35 pm

Thanks for the reply.

I forgot to update previously. Something weird was going on with the router. The rule started to work after arestart. I'm guessing you shouldn't need to do this?

Dan.
 
User avatar
ShayanFiroozi
Member Candidate
Member Candidate
Posts: 281
Joined: Sat Jun 01, 2013 12:44 pm
Location: Bandar Abbas , Iran

Re: Firewall rule not working

Sat Mar 26, 2016 6:38 pm

After changing any NAT/Filter/Mangle/it's better to restart the router , actually set connection tracking off/on will work too ;)
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Sat Mar 26, 2016 7:00 pm

Beware of loosing connection to the device when switching the connection tracking off. In some situations it could be very dangerous. Removing all connections is much safer, because you can initiate a new if necessary but you cannot switch connection tracking on again when you have no access...