LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-17-2006, 02:32 AM   #1
sucram2g
Member
 
Registered: Dec 2004
Location: Uganda
Distribution: SuSE
Posts: 36

Rep: Reputation: 15
nmap scan


Hi Group,

I have a quick question; I installed a multihomed linux box as a router between two ethernet Networks.
I also configured a firewall to allow only acces to ports 22 53 on eth0 and allow access to ports 53 80 81 445 5902 on eth1.
When i run an nmap scan on eth0 and eth1 I find the same list of open ports.

When I port scan the linux router from any other computer from either Network segment it shows me that only the configured ports are open ;-)

I would like to know why I get differnt nmap results when scanning eth0 or eth1 on the router from the router itself, as when i am scanning the router interfaces from other hosts.

Rgrds
 
Old 03-17-2006, 06:24 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You are scanning from the machine itself and does not require going through the iptables since it figures it is a trusted network.
 
Old 03-18-2006, 02:21 AM   #3
sucram2g
Member
 
Registered: Dec 2004
Location: Uganda
Distribution: SuSE
Posts: 36

Original Poster
Rep: Reputation: 15
Thanx for answer
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scan behind Router With nMap? arpanet1969 Linux - Security 1 01-28-2005 05:38 AM
nmap scan results ! dimgr Linux - Security 3 01-21-2005 12:39 PM
scan my network with nmap. amer_58 Linux - Networking 3 06-17-2004 12:11 AM
Port Scan (nmap -st) TroelsSmit Linux - Newbie 2 05-22-2004 03:13 PM
nmap scan loganwva Linux - Security 5 02-25-2003 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration