Community discussions

MikroTik App
 
Flashpowa
just joined
Topic Author
Posts: 6
Joined: Wed Jul 17, 2013 7:53 am

LAN DMZ firewall rule

Wed Jul 17, 2013 8:02 am

Hello All,

I'm really really newbie in networking... I would like to ask your helps. I have an internal LAN and a DMZ. I have several firewall rules.

I would like to make these kind of filter rules:

If there is a request from LAN from a given port to DMZ, the answer package can come through without opening port from DMZ to LAN.

The aim would be... packages can only come from DMZ to LAN if the LAN asks.

Can anyone make me a sample rule here? Your help is much much appriciated.

Regards,
David
 
Rudios
Forum Veteran
Forum Veteran
Posts: 973
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: LAN DMZ firewall rule

Wed Jul 17, 2013 10:07 am

Create a rule in your forward chain where the dst-address=your-dmz and src-address=your-lan
you probably already have a rule for established traffic
 
Flashpowa
just joined
Topic Author
Posts: 6
Joined: Wed Jul 17, 2013 7:53 am

Re: LAN DMZ firewall rule

Wed Jul 17, 2013 10:16 am

So i have to set the "Connection State" to "Established" ?
 
Rudios
Forum Veteran
Forum Veteran
Posts: 973
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: LAN DMZ firewall rule

Wed Jul 17, 2013 2:04 pm

Please post your firewall config

ros code

/ip firewall filter
export compact
You need 2 rules.
One allowing the traffic from lan to dmz.
Besides that you need a rule for established traffic to allow it in reverse, but it is highly possible you already have that rule.

Who is online

Users browsing this forum: jaclaz, m3das, samsonwilliams, Strange0ne and 122 guests