Community discussions

MikroTik App
 
sioux
newbie
Topic Author
Posts: 47
Joined: Thu May 25, 2006 10:35 pm
Location: Poland/Tarnów

why is that ? about firewall

Wed Jan 10, 2007 3:29 pm

hi all
suppose that i have clear router configuration and pinging for example google.com from host which is behind router I get this:
Badanie google.com [72.14.207.99] z użyciem 32 bajtów danych:

Odpowiedź z 72.14.207.99: bajtów=32 czas=161ms TTL=242
Odpowiedź z 72.14.207.99: bajtów=32 czas=142ms TTL=242
and when I add this rule to firewall configuration
ip firewall filter add chan=forward dst-port=80 action=drop
I don't recives echo-replays!?

why? what dst-port=80 has to icmp protocol??

when I add protocol=tcp to rule above everything is ok.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26937
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Wed Jan 10, 2007 3:32 pm

you HAVE TO add protocol, or the port setting won't take effect, and will block google altogether :)
 
sioux
newbie
Topic Author
Posts: 47
Joined: Thu May 25, 2006 10:35 pm
Location: Poland/Tarnów

Wed Jan 10, 2007 3:53 pm

you HAVE TO add protocol, or the port setting won't take effect, and will block google altogether :)
so you are saying that my rule

add chain=forward dst-port=80 adtion=drop

is actually

add chan=forward action=drop

?? :shock:
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Jan 10, 2007 4:05 pm

Anytime when you specify port destination/source protocol is required, otherwise rule does not work correctly.
 
alone
just joined
Posts: 4
Joined: Fri Jan 12, 2007 5:35 pm

google problem

Sat Jan 13, 2007 1:08 am

you need to add the protocol tcp or whatever you need

add chain forward protocol (TCP ) dst port (80) action=accept