Solved

Which interface i need to assign ip filer rules?

Posted on 2008-06-20
5
288 Views
Last Modified: 2010-04-21
I have three Ethernet adapter in my linux system.

eth0, eth1 , localhost

Which ethernet adapter i need to give the filtering rules?

Can someone explain elaborate with reasons?
0
Comment
Question by:jaisonshereen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:torquedtech
ID: 21835590
Hi jaisonshereen,

you will want to enable the ip filter rules on the device that currently has the ethernet cable plugged into it.

We are only interested in 2 interfaces eth0, and eth1, loopback is not an interface we need to worry about for this question.

if you run "ifconfig" (depending on your version/flavor of linux)
look for the interface that has an ip address. That is the one you want to enable the filter rules on

if they both have ip addresses, please let me know and I will help instruct from there.
0
 

Author Comment

by:jaisonshereen
ID: 21835604
Sorry forgot to mention.

eth0 is for private ip
eth1 is for public ip

what will be my cable is linked ..private or public?
0
 
LVL 3

Accepted Solution

by:
torquedtech earned 500 total points
ID: 21835624
your public ip is the the one that you will want to filter (eth1)

your private ip we believe is secure so we will trust it, however, the public interface is where we want the filter so that it will block unwanted people from entering.

for example a house, public interface is front door, private interface is back door.
we let friends come in the back door because they are trusted, but we must filter people at the front door (public) becuase we do not know who they are

make sense?

Thanks
~Dan

0
 

Author Comment

by:jaisonshereen
ID: 21835639
yes.. so which interface will be the cable connected?
0
 
LVL 3

Expert Comment

by:torquedtech
ID: 21835645
it will go to interface eth1
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question