Solved

Which interface i need to assign ip filer rules?

Posted on 2008-06-20
5
293 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

729 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