Community discussions

MUM Europe 2020
 
User avatar
asus
Member
Member
Topic Author
Posts: 403
Joined: Fri Mar 27, 2009 9:42 am
Location: Mumbai, India

how to configure firewall on multi localports?

Wed Sep 09, 2009 12:07 am

I have 1 Public & 9 Local port how i can configure "Dmitry on firewalling" on my MT

how to configure this cmd?
/ ip firewall filter
add chain=forward in-interface=Local out-interface=Local action=accept comment="Allow traffic between wired and wireless networks"

I will have to add this cmd for every 9 local ports?

also what to add in place of Local interface in this cmd?

add chain=sanity-check in-interface=Local dst-address-list=illegal-addr dst-address-type=!local action=jump jump-target=drop comment="Drop illegal destination addresses"
add chain=sanity-check in-interface=Local src-address-list=!local-addr action=jump jump-target=drop comment="Drop everything that goes from local interface but not from local address"

please help i have read whole forum still not found any ans on this...

Thanks
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5950
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: how to configure firewall on multi localports?

Mon Sep 14, 2009 4:50 pm

instead of interface you can create address list with local addresses and use src-address-list and dst-address-list.
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 195
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA

Re: how to configure firewall on multi localports?

Mon Sep 14, 2009 6:38 pm

What about port bridging?
http://www.mreza-wisp.ba/
Please, give Karma if I fix your problem
Certified MTCNA

Who is online

Users browsing this forum: No registered users and 37 guests