Solved

Which interface i need to assign ip filer rules?

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Log File Creation with Header and Footer 17 128
Field name with special character (Ñ) in Oracle 11 88
SMB share across internet 15 65
Internal CA server 6 47
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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

828 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