Community discussions

MikroTik App
用户头像
hilton
Long time Member
Long time Member
Topic Author
Posts: 634
加入: Thu Sep 07, 2006 5:12 pm
Location:Jozi (aka Johannesburg), South Africa

in-interface vs out-interface

Thu Apr 16, 2009 2:11 pm

A couple of my clients often get confused with which interface to use when creating a firewall rule. What's the easiest way to remember which is which?

Why is there a difference?
Top
用户头像
macgaiver
Forum Guru
Forum Guru
Posts: 1758
加入: Wed May 18, 2005 5:57 pm
Location:Sol III, Sol system, Sector 001, Alpha Quadrant

Re: in-interface vs out-interface

Thu Apr 16, 2009 3:14 pm

Sorry to disappoint you, but every interface can be in-interface and out-interface.

For example you have two ports "Local" - to clients and "Public" - to internet

In case of client's download in-interface will be Public, and out-interface will be Local.
In case of client's upload in-interface will be Local, and out-interface will be Public.
Top
用户头像
normis
MikroTik Support
MikroTik Support
Posts: 25794
加入: Fri May 28, 2004 11:04 am
Location:Riga, Latvia

Re: in-interface vs out-interface

2009年四月16日下午3:15

It depends on which packet the person wants to catch. Ask yourself - the packet I want - where will it come from, and where will it go?

www --> IN router OUT ---> client

client --> IN router OUT --> www
Top
用户头像
janisk
MikroTik Support
MikroTik Support
Posts: 6263
加入: Tue Feb 14, 2006 9:46 am
Location:Riga, Latvia

Re: in-interface vs out-interface

Thu Apr 16, 2009 3:17 pm

as Macgaiver said - make them think - where packet is going , where it goes in and where it goes out, that way you will be always clear what to set where. Same with download and upload - just think where traffic flow goes.
Top
用户头像
hilton
Long time Member
Long time Member
Topic Author
Posts: 634
加入: Thu Sep 07, 2006 5:12 pm
Location:Jozi (aka Johannesburg), South Africa

Re: in-interface vs out-interface

Thu Apr 16, 2009 3:24 pm

This is great!

Thanks guys I will pass this on immediately.
Top

Who is online

Users browsing this forum:ryba84,Semrush [Bot]and 50 guests