Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-17-2006, 02:32 AM   #1
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.

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

Rep: Reputation: 62
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
Registered: Dec 2004
Location: Uganda
Distribution: SuSE
Posts: 36

Original Poster
Rep: Reputation: 15
Thanx for answer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:10 PM.

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