Community discussions

MikroTik App
 
wcsnet
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon Apr 29, 2013 12:43 pm
Location: South Africa

Indetify Router Initiated Traffic

Fri Jun 19, 2015 12:36 pm

Hallo Guys

I am looking for a firewall filter rule to identify and accept traffic that was Initiated by the actual router.

Example, if the router sends out a email I don't want to specifically allow input and output for smtp traffic but rather just identify that the router is sending a email and then simply allow it.

Example, if the actual router dials a vpn connection I don't want to specifically allow this but if the router initiated the connection it should be allowed.

Thanks' in advance :-)
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Sat Jun 20, 2015 7:03 pm

That's output chain. Use other rule conditions according to your needs.
 
wcsnet
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon Apr 29, 2013 12:43 pm
Location: South Africa

Re: Indetify Router Initiated Traffic

Mon Jun 22, 2015 3:33 pm

So this is what I did if anyone is interested:

add action=passthrough chain=forward comment="-------------------------------------------------- router initiated traffic " disabled=yes

add chain="input - x" comment="accept - new traffic" connection-state=new disabled=yes

add chain="input - x" comment="accept - related traffic" connection-state=related

add chain="input - x" comment="accept - established traffic " connection-state=established

add action=passthrough chain=forward comment=--------------- disabled=yes

add chain="output - x" comment="accept - new traffic" connection-state=new

add chain="output - x" comment="accept - related traffic" connection-state=related

add chain="output - x" comment="accept - established traffic " connection-state=established

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], McSee, RobertsN, sindy and 49 guests